@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --primary: #1c3f5e;
  --primary-dark: #122b42;
  --primary-light: #255177;
  --primary-foreground: #ffffff;
  --secondary: #c89f65;
  --secondary-hover: #b88e52;
  --secondary-foreground: #1c3f5e;
  --background: #f8fafd;
  --foreground: #344254;
  --muted: #f1f4f8;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --card-foreground: #1c2d42;
  --border: #e2e8f0;
  --border-light: rgba(255, 255, 255, 0.15);
  --success: #10b981;
  --danger: #ef4444;
  --radius-sm: 0.375rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-wide {
  max-width: 1440px;
}

.container-narrow {
  max-width: 900px;
}

/* Header & Navigation */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 20px rgba(18, 43, 66, 0.15);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s;
}

.nav-brand:hover {
  opacity: 0.9;
}

.nav-logo {
  height: 3.25rem;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.18);
  font-weight: 600;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: var(--secondary);
}

.btn-mobile-toggle {
  display: flex;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: #ffffff;
  transition: background-color 0.2s;
}

@media (min-width: 1024px) {
  .btn-mobile-toggle {
    display: none;
  }
}

/* Mobile Menu Drawer */
.mobile-menu {
  display: none;
  background-color: var(--primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: all 0.2s;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #1a2a3a;
  box-shadow: 0 4px 12px rgba(200, 159, 101, 0.3);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: #0d1722;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 159, 101, 0.4);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
  border: 1px solid var(--border);
  background-color: #ffffff;
  color: var(--primary);
}

.btn-outline-dark:hover {
  background-color: var(--muted);
  border-color: var(--primary);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-ghost {
  color: var(--primary);
  padding: 0;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 63, 94, 0.95) 0%, rgba(18, 43, 66, 0.88) 50%, rgba(15, 33, 51, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 4rem 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.hero-logo {
  height: 8rem;
  width: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
  .hero-logo {
    height: 10.5rem;
  }
}

.hero-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

/* Page Banner / Subpage Hero */
.page-banner {
  position: relative;
  background-color: var(--primary);
  color: #ffffff;
  padding: 5rem 1.25rem;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(200, 159, 101, 0.15), transparent 70%);
  pointer-events: none;
}

.page-banner-logo {
  height: 5.5rem;
  width: auto;
  margin: 0 auto 1.5rem;
}

.page-banner h1 {
  color: #ffffff;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.page-banner p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

/* Section styling */
.section {
  padding: 5rem 0;
}

.section-muted {
  background-color: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.section-primary h2, .section-primary h3 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

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

.section-header p {
  font-size: 1.15rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.section-primary .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.section-primary .stat-number {
  color: var(--secondary);
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.section-primary .stat-label {
  color: #ffffff;
}

.stat-sub {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.section-primary .stat-sub {
  color: rgba(255, 255, 255, 0.7);
}

/* Practice Area Card */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.practice-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(28, 63, 94, 0.2);
}

.practice-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  background-color: rgba(28, 63, 94, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.practice-card:hover .practice-icon {
  background-color: var(--primary);
  color: #ffffff;
}

.practice-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.practice-card p {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Lawyer Cards Grid */
.lawyers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .lawyers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lawyers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .lawyers-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lawyer-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.lawyer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(28, 63, 94, 0.25);
}

.lawyer-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background-color: #e5e9f0;
  overflow: hidden;
}

.lawyer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.lawyer-card:hover .lawyer-photo {
  transform: scale(1.04);
}

.lawyer-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lawyer-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.lawyer-card:hover .lawyer-name {
  color: var(--primary);
}

.lawyer-specialty {
  color: var(--secondary-hover);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.lawyer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--muted);
  color: var(--foreground);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1rem;
}

.lawyer-bio {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.lawyer-contacts {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.lawyer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  transition: color 0.2s;
  word-break: break-all;
}

.lawyer-contact-item:hover {
  color: var(--primary);
}

.lawyer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-1px);
}

/* Testimonials Columns */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  color: var(--card-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-author-name {
  font-weight: 700;
  color: #111827;
  font-size: 1rem;
}

.testimonial-case {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 0.15rem;
}

/* Blog Cards Grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.blog-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-media img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: #111827;
}

.blog-card:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Contact & Forms */
.form-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111827;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 63, 94, 0.15);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: rgba(28, 63, 94, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.2rem;
}

.contact-info-desc {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Map Frame */
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-top {
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 4.5rem;
  width: auto;
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.25fr 1.25fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.25rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-legal-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-top: 1rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  background-color: #25d366;
  color: #ffffff;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.6);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  padding: 2.25rem;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: all 0.2s;
}

.modal-close:hover {
  background-color: #e2e8f0;
  color: #000000;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background-color: #1e293b;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: toastIn 0.3s ease;
  pointer-events: auto;
}

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

.toast.error {
  background-color: #881337;
  border-left: 4px solid #f43f5e;
}

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