/* Base Styles */
:root {
  --highlight-color: rgb(54, 120, 213);
  --highlight-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
  --primary-color: #f97316;
  --primary-hover: #ea580c;
  --text-color: #1f2937;
  --text-light: #4b5563;
  --bg-color: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0;
  scroll-margin-top: 5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Activity Drag and Drop Styles */
.activity-block {
  cursor: grab;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-block:active {
  cursor: grabbing;
}

.activity-block.dragging {
  opacity: 0.7;
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.activity-block.drop-highlight {
  position: relative;
  z-index: 1;
}

.activity-block.drop-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--highlight-color);
  box-shadow: var(--highlight-shadow);
  animation: pulse 1.5s infinite;
}

.activity-block.drop-highlight[data-drop-position='before']::before {
  top: -2px;
}

.activity-block.drop-highlight[data-drop-position='after']::before {
  bottom: -2px;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scaleX(0.98);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.6;
    transform: scaleX(0.98);
  }
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-underline {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--primary-color);
  margin: 0 auto;
}

.section-description {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: var(--text-light);
}

/* Header Styles */
.header {
  background-color: #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 4rem;
  margin-right: 1rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  display: none;
}

.desktop-nav {
  display: none;
}

.nav-link {
  margin: 0 1.5rem;
  color: var(--text-color);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--primary-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1rem;
  padding: 0;
  margin: 0 1.5rem;
  transition: color 0.3s;
}

.dropdown-btn:hover {
  color: var(--primary-color);
}

.dropdown-icon {
  margin-left: 0.25rem;
  font-size: 0.75rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 14rem;
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: var(--shadow);
  z-index: 1;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  color: var( --text-color);
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #f8fafc;
  color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.mobile-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  background-color: white;
  box-shadow: var(--shadow);
}

.mobile-nav.active {
  display: block;
}

.nav-link.mobile {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-dropdown-btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  color: var(--text-color);
  font-size: 1rem;
}

.mobile-dropdown-content {
  display: none;
  padding-left: 1rem;
  background-color: #f8fafc;
}

.mobile-dropdown-content.active {
  display: block;
}

.mobile-dropdown-content a {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-color);
}

.btn-primary.mobile {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #fff7ed, #ffedd5);
  min-height: calc(100vh - 4.5rem);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.title-wrapper {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  animation: titleFadeIn 1s ease-out forwards;
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, #ffedd5);
  animation: revealText 1.5s ease 0.5s forwards;
}

@keyframes revealText {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}

.title-underline {
  width: 8rem;
  height: 0.25rem;
  background-color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.title-underline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--primary-color);
  animation: expandLine 1.5s ease 0.8s forwards;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes expandLine {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

.hero-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.5s forwards;
  font-size: 1.125rem;
}

.features {
  display: grid;
  gap: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.8s forwards;
}

.feature {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: #dcfce7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  color: #16a34a;
  font-size: 0.75rem;
}

.hero-image {
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards, float 6s ease-in-out 3s infinite;
}

.hero-image img {
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s;
}

.hero-image img:hover {
  transform: scale(1.05);
}

/* Results Section */
.results {
  background-color: white;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.result-card {
  background-color: #fff7ed;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.result-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.25rem);
}

.result-icon {
  background-color: var(--primary-color);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.result-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.result-card p {
  color: var(--text-light);
  flex-grow: 1;
}

/* Partners Section */
.partners {
  background-color: #f9fafb;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.partner-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: all 0.3s;
}

.partner-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-lg);
}

.partner-logo {
  width: 6rem;
  height: 6rem;
  background-color: #fff7ed;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.partner-logo span {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.25rem;
}

.partner-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.partner-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.partner-link {
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.partner-link:hover {
  color: var(--primary-hover);
}

.partner-link i {
  margin-left: 0.25rem;
  font-size: 0.875rem;
}

/* Contact Section */
.contact {
  background-color: white;
}

.contact-form-container {
  max-width: 48rem;
  margin: 0 auto;
}

.contact-form {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  background-color: var(--primary-hover);
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #f9fafb;
  padding: 4rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eu-logo {
  height: 5rem;
  margin-bottom: 1rem;
}

.project-info {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.info-label {
  font-weight: 600;
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: var(--text-light);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Footer Language Selector Styles */
.footer-language-selector {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.language-label {
  color: var(--text-light);
  margin-right: 0.5rem;
}

.footer-lang-link {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-lang-link:hover {
  color: var(--primary-color);
}

.footer-lang-link.active {
  color: var(--primary-color);
  font-weight: 600;
}

.language-separator {
  color: var(--text-light);
  margin: 0 0.5rem;
}

.social-links {
  display: flex;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all 0.3s;
}

.social-link:hover {
  background-color: var(--primary-color);
  color: white;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Partner Modal */
.partner-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.partner-modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 60rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleUp 0.4s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-partner-info {
  display: flex;
  align-items: center;
}

.modal-partner-logo {
  width: 3rem;
  height: 3rem;
  background-color: #fff7ed;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.modal-partner-logo span {
  color: var(--primary-color);
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-footer {
  padding: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

/* Login Modal */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.login-modal.active {
  opacity: 1;
  visibility: visible;
}

.login-container {
  background-color: white;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s;
  overflow: hidden;
}

.login-modal.active .login-container {
  transform: scale(1);
}

.login-header {
  background-color: #fff7ed;
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.login-logo {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--text-light);
  font-size: 0.875rem;
}

.login-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.login-tab {
  flex: 1;
  text-align: center;
  padding: 1rem;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.login-tab.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.login-content {
  padding: 1.5rem;
}

.login-form {
  display: none;
}

.login-form.active {
  display: block;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin-right: 0.5rem;
}

.forgot-password {
  color: var(--primary-color);
  font-size: 0.875rem;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-login:hover {
  background-color: var(--primary-hover);
}

.login-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border-color);
}

.login-divider-text {
  padding: 0 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.form-success {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

/* Animations */
.animate-fadeIn {
  animation: fadeIn 0.8s ease-in-out;
}

.animate-slideUp {
  animation: slideUp 0.8s ease-in-out;
}

.animate-slideRight {
  animation: slideRight 0.8s ease-in-out;
}

.animate-slideLeft {
  animation: slideLeft 0.8s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Media Queries */
@media (min-width: 768px) {
  .logo-text {
    display: block;
  }
  
  .desktop-nav {
    display: flex;
    align-items: center;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero .container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
  
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .footer-info {
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .copyright {
    margin-bottom: 0;
  }
}

.activity-block.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.activity-block.drag-above {
  border-top: 2px dashed var(--primary-color);
}

.activity-block.drag-below {
  border-bottom: 2px dashed var(--primary-color);
}

.timeline-placeholder {
  color: var(--text-light);
  background-color: #f9fafb;
  transition: all 0.3s;
  cursor: pointer;
}

.timeline-placeholder.drag-over {
  border-color: var(--primary-color);
  background-color: #fff7ed;
  color: var(--primary-color);
  border-style: solid;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background-color: #fff;
  color: var(--text-color);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 350px;
  animation: slideInRight 0.3s, fadeOut 0.5s 2.5s forwards;
  pointer-events: all;
}

.toast.success {
  border-left: 4px solid #10b981;
}

.toast.error {
  border-left: 4px solid #ef4444;
}

.toast.info {
  border-left: 4px solid #3b82f6;
}

.toast-icon {
  font-size: 18px;
}

.toast.success .toast-icon {
  color: #10b981;
}

.toast.error .toast-icon {
  color: #ef4444;
}

.toast.info .toast-icon {
  color: #3b82f6;
}

.toast-content {
  flex: 1;
}

.toast-message {
  font-size: 14px;
  font-weight: 500;
}

.toast-close {
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  color: #6b7280;
}

.toast-close:hover {
  opacity: 1;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Центральный диалог подтверждения */
.confirm-dialog-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1100;
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

.confirm-dialog {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  min-width: 300px;
  max-width: 450px;
  text-align: center;
  animation: zoomIn 0.2s ease forwards;
}

.confirm-dialog-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
}

.confirm-dialog-message {
  margin-bottom: 20px;
  color: var(--text-light);
}

.confirm-dialog-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.confirm-dialog-button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.confirm-dialog-confirm {
  background-color: var(--primary-color);
  color: white;
}

.confirm-dialog-confirm:hover {
  background-color: var(--primary-hover);
}

.confirm-dialog-cancel {
  background-color: #e5e7eb;
  color: #374151;
}

.confirm-dialog-cancel:hover {
  background-color: #d1d5db;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Language Selector Styles */
.language-selector {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1000;
}

.language-dropdown {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  min-width: 80px;
  justify-content: space-between;
}

.language-btn:hover {
  background: var(--bg-light);
  box-shadow: var(--shadow-lg);
}

.language-btn i {
  margin-left: 8px;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.language-dropdown:hover .language-btn i {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  min-width: 120px;
  margin-top: 4px;
}

.language-dropdown:hover .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border-radius: 6px;
  margin: 4px;
}

.language-option:hover {
  background: var(--bg-light);
}

.language-option.active {
  background: var(--primary-color);
  color: white;
}

.language-option img {
  margin-right: 8px;
  width: 20px;
  height: auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .language-selector {
    top: 85px;
    right: 15px;
  }
  
  .language-btn {
    padding: 6px 10px;
    font-size: 13px;
    min-width: 70px;
  }
  
  .language-menu {
    min-width: 100px;
  }
  
  .language-option {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .language-option img {
    width: 18px;
  }
}