:root {
    --primary: #0A192F;       /* Bleu Nuit Zellige profond */
    --primary-light: #172A45; /* Bleu nuit plus clair */
    --accent: #E5B800;        /* Or scintillant */
    --secondary: #4A90E2;     /* Bleu Azulejos vif */
    --bg-main: #060F1E;       /* Fond sombre immersif */
    --card-bg: rgba(10, 25, 47, 0.65); /* Effet Verre fumé (Glassmorphism) */
    --card-border: rgba(74, 144, 226, 0.2);
    --text-main: #E6F1FF;     /* Blanc cassé bleuté pour le texte */
    --text-muted: #8892B0;    
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --font-script: 'Parisienne', cursive;
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
    
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Pattern (Zellige Inspiration) */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    /* Motif inspiré des zelliges bleus */
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(74,144,226,0.08) 15%, transparent 15%),
        radial-gradient(circle at 100% 0%, rgba(74,144,226,0.08) 15%, transparent 15%),
        radial-gradient(circle at 100% 100%, rgba(74,144,226,0.08) 15%, transparent 15%),
        radial-gradient(circle at 0% 100%, rgba(74,144,226,0.08) 15%, transparent 15%),
        linear-gradient(45deg, rgba(229,184,0,0.02) 25%, transparent 25%, transparent 75%, rgba(229,184,0,0.02) 75%, rgba(229,184,0,0.02)),
        linear-gradient(-45deg, rgba(229,184,0,0.02) 25%, transparent 25%, transparent 75%, rgba(229,184,0,0.02) 75%, rgba(229,184,0,0.02));
    background-size: 60px 60px;
    background-position: 0 0, 30px 0, 30px 30px, 0 30px, 0 0, 30px 30px;
    z-index: -1;
    pointer-events: none;
}

.bg-pattern::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 100%);
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-script {
    font-family: var(--font-script);
    color: var(--accent);
    font-size: 2.2rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0;
}

.text-gold {
    color: var(--accent) !important;
}

/* Intro Animation */
#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-main);
    background-image: radial-gradient(circle at center, var(--primary) 0%, var(--bg-main) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease-in-out, visibility 1s;
}

.intro-content {
    text-align: center;
}

.intro-logo-img {
    width: 300px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: zoomFadeLogo 2.5s forwards;
}

.intro-sub {
    color: var(--secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-body);
    opacity: 0;
    animation: fadeInSub 1s ease-out 1.5s forwards;
}

@keyframes zoomFadeLogo {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

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

@keyframes zoomFade {
    0% { opacity: 0; transform: scale(0.9); }
    30% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Navbar */
nav {
    background-color: rgba(6, 15, 30, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-item:hover, .nav-item.active {
    color: var(--accent);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.admin-link i {
    font-size: 0.9rem;
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Main Content & SPA Sections */
#main-content {
    padding-top: 80px; 
    min-height: calc(100vh - 100px);
}

.page-section {
    display: block;
    min-height: 100vh;
    padding-top: 80px; 
}

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

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

.section-padding {
    padding: 5rem 0;
}

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

.section-header h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(229, 184, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 184, 0, 0.4);
    background-color: #f0c310;
}

.btn-secondary {
    background-color: rgba(229, 184, 0, 0.05);
    color: var(--accent);
    border: 2px solid var(--accent);
}

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

.full-width {
    width: 100%;
}

/* Hero Section */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    padding: 0 5%;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title.gold {
    color: var(--accent);
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 4.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-img {
    width: 95%;
    max-width: 550px;
    height: 550px;
    object-fit: cover;
    border-radius: 30px 150px 30px 150px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--primary-light);
    position: relative;
    z-index: 2;
}

.hero-ornament {
    position: absolute;
    width: 95%;
    max-width: 550px;
    height: 550px;
    border: 2px solid var(--accent);
    border-radius: 30px 150px 30px 150px;
    top: -15px;
    right: -15px;
    z-index: 1;
    opacity: 0.6;
}

/* --- NEW MENU PAGE STYLES TO MATCH PHOTOS --- */
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.menu-book-wrapper {
    background: linear-gradient(135deg, rgba(229, 184, 0, 0.8) 0%, rgba(74, 144, 226, 0.8) 100%);
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.menu-book-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 10px 10px, rgba(255,255,255,0.4) 2px, transparent 0),
        radial-gradient(circle at 20px 20px, rgba(255,255,255,0.4) 2px, transparent 0);
    background-size: 30px 30px;
    z-index: 1;
}

.menu-book-page {
    background-color: #FAFAFA;
    position: relative;
    z-index: 2;
    border-radius: 12px;
    padding: 4rem 3rem;
    color: #1A1A1A;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

.menu-page-title {
    font-family: var(--font-script);
    color: var(--primary);
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.menu-day-title {
    text-align: center;
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--primary-light);
    margin: 2rem 0 1rem 0;
}

.menu-grid-small {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.menu-item-pic {
    text-align: center;
    width: 180px;
}

.menu-item-pic h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    min-height: 40px; 
}

.menu-item-pic img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #1A1A1A;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    margin-bottom: 0.5rem;
}

.menu-item-pic .price {
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 600;
}

.menu-item-pic.text-box {
    border: 3px solid #1A1A1A;
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-top: 45px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.menu-text-list {
    max-width: 600px;
    margin: 0 auto;
}

.menu-text-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.2);
}

.menu-text-row:last-child {
    border-bottom: none;
}

.menu-text-name {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #1A1A1A;
}

.menu-text-price {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.2rem;
}

/* Reservation Page */
.reservation-wrapper {
    display: flex;
    gap: 0;
    background-color: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.reservation-info {
    flex: 1;
    background-color: rgba(10, 25, 47, 0.8);
    color: var(--text-main);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--card-border);
}

.reservation-info h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.info-items {
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--accent);
}

.reservation-form-container {
    flex: 1.2;
    padding: 4rem 3rem;
}

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

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

.modern-form input, .modern-form select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05); /* Glass input */
    border: 1px solid var(--card-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.modern-form input:focus, .modern-form select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(229, 184, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.08);
}

.modern-form select option {
    background-color: var(--primary);
    color: var(--text-main);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

/* Events Page */
.marketing-text {
    font-family: var(--font-script);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.event-img-wrapper {
    height: 250px;
}

.event-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 2rem;
    text-align: center;
}

.event-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--accent);
}

/* Services Page */
.services-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-box {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(229,184,0,0.15);
}

.service-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

/* Contact Page */
.contact-wrapper {
    display: flex;
    gap: 0;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-details {
    flex: 1;
    padding: 4rem;
    border-right: 1px solid var(--card-border);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(229, 184, 0, 0.1);
    border: 1px solid rgba(229,184,0,0.3);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.btn-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--accent);
}

.map-container {
    flex: 1.2;
    min-height: 400px;
}

/* Admin Dashboard */
.admin-login-container {
    display: none;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.admin-login-container.active {
    display: flex;
}

.login-box {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h3 {
    margin-bottom: 2rem;
    font-family: var(--font-body);
    color: var(--text-main);
}

.admin-dashboard {
    display: none;
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.admin-dashboard.active {
    display: block;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.dashboard-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(74, 144, 226, 0.05);
    padding: 2rem;
    border-radius: 15px;
    flex: 1;
    border-left: 4px solid var(--accent);
    border-top: 1px solid var(--card-border);
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
}

.dashboard-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.search-bar {
    position: relative;
    width: 300px;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-bar input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-main);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent);
}

.filters select {
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-main);
}
.filters select option {
    background: var(--primary);
    color: var(--text-main);
}

.table-container {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table th, .modern-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--card-border);
}

.modern-table th {
    background-color: rgba(255,255,255,0.05);
    color: var(--accent);
    font-weight: 600;
}

.modern-table tbody tr {
    transition: var(--transition);
}

.modern-table tbody tr:hover {
    background-color: rgba(229, 184, 0, 0.05);
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-new { background: rgba(74, 144, 226, 0.2); color: #82baff; border: 1px solid rgba(74, 144, 226, 0.3); }
.status-confirmed { background: rgba(46, 204, 113, 0.2); color: #58d68d; border: 1px solid rgba(46, 204, 113, 0.3); }

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--text-muted);
    padding: 4rem 0 0 0;
    margin-top: auto;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-main);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        gap: 3rem;
        padding-top: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .reservation-wrapper, .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; 
    }

    .hero-title { font-size: 2.2rem; }
    .hero-title.gold { font-size: 2.8rem; }
    
    .section-header h2 { font-size: 2rem; }
    .marketing-text { font-size: 1.8rem; }
    
    .nav-logo { height: 45px; }
    .logo-script { font-size: 1.8rem; }
    
    .intro-logo-img { width: 200px; }

    .hero-img, .hero-ornament {
        width: 80%;
        height: 350px;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .section-padding { padding: 3rem 0; }
    .hero-title { font-size: 1.8rem; }
    .hero-title.gold { font-size: 2.2rem; }
    .section-header h2 { font-size: 1.8rem; }
    
    .menu-book-page { padding: 2rem 1rem; }
    .menu-page-title { font-size: 2.2rem; }

    .hero-img, .hero-ornament {
        height: 280px;
        width: 90%;
    }
}

/* Admin Mobile Responsiveness - Refined for XR */
@media (max-width: 768px) {
    .admin-page-wrap { padding: 0.8rem; margin-top: 50px; }
    .dashboard-header h2 { font-size: 1.4rem; }
    .dashboard-header { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 1rem; }
    
    .stat-card { padding: 1rem; }
    .stat-number { font-size: 1.5rem; }
    
    /* Force table to behave like a card list */
    .modern-table thead { display: none; }
    .modern-table, .modern-table tbody, .modern-table tr, .modern-table td {
        display: block;
        width: 100%;
    }
    
    .modern-table tr {
        margin-bottom: 1rem;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        padding: 0.8rem;
        border: 1px solid #eee;
    }
    
    .modern-table td {
        text-align: right;
        padding: 0.4rem 0;
        border: none;
        position: relative;
        padding-left: 40%;
        font-size: 0.85rem;
        min-height: 1.5rem;
    }
    
    .modern-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 35%;
        padding-left: 0;
        font-weight: 600;
        text-align: left;
        color: #888;
        font-size: 0.75rem;
        text-transform: uppercase;
    }

    .modern-table td:last-child {
        padding-left: 0;
        text-align: center;
        border-top: 1px solid #f5f5f5;
        margin-top: 8px;
        padding-top: 12px;
    }
    
    .modern-table td:last-child::before { display: none; }
    
    .btn { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
}

