* {
    box-sizing: border-box;
}

/* The rest of your styles like body { ... } come after this */
/* Navy dystopian theme with ancient accents */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #001f3f; /* Navy blue */
    color: #fff;
}

header {
    background-color: #000f2f; /* Darker navy */
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.logo-img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.logo-text {
    font-size: 2em;
    font-weight: bold;
    font-family: 'Noto Serif Devanagari', sans-serif;
}

.hero {
    position: relative;
    text-align: center;
    padding: 50px 20px;
    overflow: hidden;
    animation: fadeIn 2s ease-in-out;
}

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

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    filter: brightness(60%); /* Dystopian dim blend */
}

.slideshow-image.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-shadow: 2px 2px 4px #000;
}

.hero-content h1 {
    font-size: 2.5em;
    font-family: 'Noto Serif Devanagari', sans-serif;
}

.hero-content p {
    font-size: 1.2em;
}

.buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #4a2c2a; /* Ancient brown for buttons */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    font-family: 'Noto Serif Devanagari', sans-serif;
}

.btn:hover {
    background-color: #3a1c1a;
    transform: translateY(-3px);
}

.middle-section {
    padding: 40px 20px;
    text-align: center;
}

.alternate-bg {
    background-color: #002f5f; /* Slightly lighter navy for alternation */
}

footer {
    background-color: #000f2f;
    color: white;
    padding: 40px 20px;
    text-align: center;
    animation: slideUp 1s ease-out;
}

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

footer section {
    margin-bottom: 20px;
}

footer h3 {
    margin-bottom: 10px;
    font-family: 'Noto Serif Devanagari', sans-serif;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Registration modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #001f3f;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    color: #fff;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover {
    color: white;
    cursor: pointer;
}

/* ======================================================== */
/* STYLES FOR FANCY & DYSTOPIAN FLASH NOTIFICATION          */
/* ======================================================== */

/* This new animation slides the message in, waits, and slides it out */
@keyframes flash-in-out {
    0% {
        transform: translateY(-120%);
        opacity: 0;
    }
    10%, 90% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-120%);
        opacity: 0;
    }
}

/* Updated dystopian styling for the message box */
.flash-message {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #0b0c10; /* Dark tech background */
    color: #c5c6c7; /* Softer text color */
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 1000; /* Ensure it's on top of everything */
    font-family: 'Roboto Mono', monospace; /* Use the tech font */
    
    /* Neon accent border and glow */
    border-left: 5px solid #66fcf1; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5), 0 0 5px #66fcf1;

    /* Apply the new 5-second animation */
    animation: flash-in-out 2s forwards ease-in-out;
}

/* --- Style for Flash Message Close Button --- */
.close-flash {
    color: white;
    float: right;
    font-size: 22px;
    font-weight: bold;
    margin-left: 15px;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-flash:hover {
    color: #66fcf1; /* Neon cyan on hover */
}

/* =================================== */
/* MEDIA QUERIES FOR          */
/* MOBILE RESPONSIVENESS         */
/* =================================== */

/* =================================== */
/* MEDIA QUERIES FOR MOBILE (REVISED)  */
/* =================================== */

@media (max-width: 768px) {
    /* --- General Body & Font --- */
    body {
        -webkit-text-size-adjust: 100%; /* Prevents text from auto-zooming on iOS */
    }

    /* --- Header --- */
    header {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }

    .logo-img {
        margin-right: 0;
        margin-bottom: 10px; /* Space between logo and text */
    }

    .logo-text {
        font-size: 1.5em;
    }

    /* --- Hero Section (THE MAIN FIX) --- */
    .hero {
        /* We make the hero section flexible and ensure it has enough height */
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 80vh; /* Give it at least 80% of the screen height */
        padding: 20px;
    }

    .slideshow-container {
        /* This places the images in the background of the hero section */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* Puts it behind the content */
    }

    .hero-content {
        /* THIS IS THE KEY: We take the content out of absolute positioning */
        /* and put it back into the normal flow of the page. */
        position: static; 
        transform: none; /* Remove the translate transform */
        width: 100%;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7); /* Enhance text readability */
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .hero-content p {
        font-size: 1.1em;
        margin-bottom: 30px; /* More space before buttons */
    }

    /* --- Buttons --- */
    .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 90%; /* Make buttons wide for easy tapping */
        max-width: 300px; /* But not ridiculously wide on tablets */
        margin: 8px 0;
        padding: 15px 10px; /* Taller buttons are easier to tap */
        text-align: center;
    }
    
    /* --- Sections & Footer --- */
    .middle-section {
        padding: 40px 15px;
    }

    footer {
        padding: 30px 15px;
    }
    
    /* --- Modals --- */
    .modal-content {
        width: 90%;
        margin: 30% auto;
    }

    /* --- Dashboard Page --- */
    textarea[name="diary_notes"] {
        width: 100%;
    }
}


/* =================================== */
/* STYLES FOR JOURNAL/NOTES TABS     */
/* =================================== */
.tab-container {
    overflow: hidden;
    border: 1px solid #4a2c2a;
    background-color: #002f5f;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.tab-container .tab-link {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    color: #fff;
    flex-grow: 1; /* Makes tabs share space equally */
}

.tab-container .tab-link:hover {
    background-color: #001f3f;
}

.tab-container .tab-link.active {
    background-color: #4a2c2a; /* Ancient brown to show active tab */
}

.tab-content {
    display: none;
    padding: 6px 12px;
    border-top: none;
}

.tab-content h3 {
    text-align: left;
}

.tab-content textarea {
    width: 100%;
    background-color: #f4f4f4;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    font-family: monospace;
}

/* =================================== */
/* STYLES FOR NAVIGATION LINKS       */
/* =================================== */
.nav-links {
    display: flex;
    gap: 10px; /* Adds a little space between buttons */
}

/* =================================== */
/* PROFILE PICTURE UPLOAD STYLES       */
/* =================================== */
.profile-picture-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

#profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%; /* Creates the circular shape */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    margin-bottom: 10px;
    border: 2px solid #4a2c2a; /* Optional border */
}

.upload-button {
    background-color: #4a2c2a;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.upload-button:hover {
    background-color: #3a1c1a;
}

/* --- Style for Flash Message Close Button --- */
.close-flash {
    color: white;
    float: right;
    font-size: 22px;
    font-weight: bold;
    margin-left: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.close-flash:hover {
    color: #ffd700;
}

/* Remove the auto-hide animation */
@keyframes fadeOut {
    0% { opacity: 1; }
    99.9% { opacity: 1; }
    100% { opacity: 1; }
}


/* --- Styles for My Queries Page --- */
.query-box {
    background-color: #002f5f;
    border: 1px solid #4a2c2a;
    border-radius: 8px;
    padding: 20px;
    max-width: 700px;
    margin: 20px auto;
    text-align: left;
}
.query-box .query-answer {
    color: #ffd700; /* Highlight admin's answer */
    font-style: italic;
}

/* --- Styles for Admin Dashboard --- */
.admin-section {
    background-color: #001f3f;
    border: 1px solid #4a2c2a;
    border-radius: 8px;
    padding: 20px;
    margin: 30px auto;
    max-width: 900px;
}

/* ======================================================== */
/* STYLES FOR NOTIFICATION SLATE (FINAL OVERLAP FIX)        */
/* ======================================================== */

/* This is the new container 'slate' that sits above the hero section */
.notification-slate {
    padding: 20px 0;
    background-color: #002f5f; /* The alternate navy color */
}

.notification-banner {
    /* The banner is now a normal block, centered with margin */
    width: 90%;
    max-width: 800px;
    margin: 0 auto; /* This centers the banner in the slate */
    border-radius: 15px;
    overflow: hidden;
    
    /* Reverting to the theme-consistent border */
    border: 2px solid #4a2c2a; 
    
    /* Using a simple, subtle box shadow */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);

    /* A simple fade-in is enough now */
    animation: fadeIn 1.5s ease-out;
}

.notification-content {
    /* Keeping the frosted glass effect, which now blurs the slate's background */
    background-color: rgba(0, 31, 63, 0.5); 
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    padding: 20px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.notification-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    font-family: 'Noto Serif Devanagari', sans-serif;
}

.notification-content p {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.5;
}

/* Now, we revert the hero section to its original simple state */
/* No complex flexbox is needed anymore */
@media (min-width: 769px) {
    .hero {
        /* This can be empty, or we can add specific desktop hero styles later if needed */
        padding: 50px 20px;
    }
}

/* =================================== */
/* STYLES FOR ADMIN ACCORDION UI       */
/* =================================== */
.accordion-container {
    border: 1px solid #4a2c2a;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item:not(:last-child) {
    border-bottom: 1px solid #4a2c2a;
}

.accordion-header {
    padding: 15px 20px;
    background-color: #002f5f;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #001f3f;
}

/* Style for the dropdown arrow */
.accordion-header::marker {
    color: #ffd700;
    font-size: 1.2em;
}
details[open] > .accordion-header {
    background-color: #001f3f;
}

.accordion-header.unanswered {
    /* Highlight groups that need a reply */
    background-color: #3a1c1a; 
}
.accordion-header.unanswered:hover {
    background-color: #4a2c2a;
}
.accordion-header.unanswered::marker {
    color: #ff8c8c;
}

.query-count {
    font-size: 0.9em;
    color: #ccc;
}

.accordion-content {
    padding: 15px;
    background-color: #001f3f;
}

.accordion-content .query-box {
    margin: 0 0 15px 0; /* Adjust margin for nested view */
}

/* =================================== */
/* STYLES FOR ADMIN USER LIST          */
/* =================================== */
.user-summary {
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary-pfp {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #4a2c2a;
}

.user-details-content {
    padding: 10px;
}

.user-details-content p {
    margin: 5px 0;
    font-size: 1.1em;
}

/* =================================== */
/* STYLES FOR ADMIN DASHBOARD ENHANCEMENTS */
/* =================================== */

/* Main collapsible sections */
.admin-section-details {
    background-color: #001f3f;
    border: 1px solid #4a2c2a;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 900px;
}
.booking-request-item {
    background-color: #002f5f;
    border: 1px solid #4a2c2a;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px; /* Increased margin for better separation */
}
.admin-section-header {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-section-header h3 {
    margin: 0;
}
.admin-section-header::marker {
    content: ''; /* Hide default marker */
}
.admin-section-header::after {
    /* Custom animated arrow */
    content: '▼';
    font-size: 1.2em;
    color: #ffd700;
    transition: transform 0.3s ease;
}
.admin-section-details[open] > .admin-section-header::after {
    transform: rotate(180deg);
}
.admin-section-content {
    padding: 0 20px 20px 20px;
}

/* User details enhancements */
.detail-divider {
    border: 0;
    border-top: 1px solid #4a2c2a;
    margin: 15px 0;
}
.notes-container strong {
    display: block;
    margin-top: 10px;
    color: #ccc;
}
.note-box {
    background-color: #000f2f;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px;
    margin-top: 5px;
    white-space: pre-wrap; /* Respects line breaks */
    word-break: break-word;
    max-height: 150px;
    overflow-y: auto;
}

/* --- Styles for Pricing Table --- */
.pricing-table-container {
    overflow-x: auto; /* For good mobile viewing */
    margin: 30px auto;
}
.pricing-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background-color: #001f3f;
}
.pricing-table th, .pricing-table td {
    border: 1px solid #4a2c2a;
    padding: 15px;
    text-align: center;
}
.pricing-table th {
    background-color: #000f2f;
    font-size: 1.1em;
}
.pricing-table td small {
    display: block;
    color: #aaffaa; /* Light green for savings text */
    font-size: 0.8em;
}
.offer-row {
    background-color: #002f5f;
}
.offer-tag {
    display: inline-block;
    background-color: #4a2c2a;
    color: #ffd700;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    margin-left: 5px;
}
.slots-info {
    margin-top: 20px;
}

/* =================================== */
/* STYLES FOR SCROLLING NOTIFICATION   */
/* =================================== */

/* 1. This is the visible 'window' for our text */
.scrolling-text-container {
    max-height: 4.8em; /* Roughly 3 lines of text */
    overflow: hidden;  /* Hides the text that overflows */
    position: relative;
}

/* 2. This is the paragraph that will be animated */
.scrolling-text {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.6;
    position: relative;
}

/* 3. This is the animation definition */
@keyframes scroll-up {
    0% {
        transform: translateY(0%);
    }
    100% {
        /* Scrolls the text up by its full height plus a little extra */
        transform: translateY(-100%); 
    }
}

/* 4. This class will be ADDED BY JAVASCRIPT to trigger the animation */
.is-scrolling .scrolling-text {
    /* Adjust the duration (e.g., 25s) to make it slower or faster */
    animation: scroll-up 0s linear 3s infinite; 
}

/* =================================== */
/* STYLES FOR "FANCY" FACILITIES SECTION */
/* =================================== */
#facilities h2 {
    font-size: 2.2em; /* Make the title bigger */
    margin-bottom: 30px;
    font-family: 'Noto Serif Devanagari', sans-serif;
}

.facilities-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(145deg, #001f3f, #003a75); /* Subtle gradient */
    border: 1px solid #4a2c2a;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.facilities-list {
    list-style-type: none; /* We will use custom icons */
    padding: 0;
    margin: 0;
    text-align: left;
    columns: 2; /* Creates a two-column layout on wider screens */
    column-gap: 40px;
}

.facilities-list li {
    font-size: 1.1em;
    padding-left: 40px; /* Space for the icon */
    margin-bottom: 25px;
    position: relative;
    color: #f0f0f0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.facilities-list li:hover {
    color: #ffd700; /* Highlight with gold color on hover */
    transform: translateX(5px);
}

/* Custom icon for each list item */
.facilities-list li::before {
    content: '✨'; /* Sparkles emoji as the icon */
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 1.2em;
    color: #ffd700;
}

/* On mobile, switch to a single column for better readability */
@media (max-width: 768px) {
    .facilities-list {
        columns: 1;
    }
}

/* ================================================= */
/* STYLES FOR FANCY SPECIAL BUTTON (ADJUSTED)        */
/* ================================================= */

/* Defines the continuous pulsing animation (with less brightness) */
@keyframes pulse {
    0% {
        transform: scale(1);
        /* SUBTLE GLOW: Reduced shadow size and opacity */
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.2), 0 0 8px rgba(255, 215, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        /* SUBTLE GLOW: Reduced the peak brightness of the glow */
        box-shadow: 0 0 15px rgba(255, 217, 0, 0.291), 0 0 25px rgba(255, 215, 0, 0.2);
    }
    100% {
        transform: scale(1);
        /* SUBTLE GLOW: Reduced shadow size and opacity */
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.2), 0 0 8px rgba(255, 215, 0, 0.1);
    }
}

.btn-fancy-special {
    /* Positioning */
    display: block;
    margin: 0 auto 30px auto;
    width: fit-content;

    /* MOVED UP: This nudges the button 30px higher */
    position: relative;
    top: -7.5px;

    /* Fancy Styling */
    font-size: 1.3em;
    font-family: 'Noto Serif Devanagari', sans-serif;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid #ffd700;
    background: linear-gradient(145deg, #5a3c3a, #3a1c1a);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

    /* Eye-Catching Animation */
    animation: pulse 2.5s infinite ease-in-out;
}

.btn-fancy-special:hover {
    background: linear-gradient(145deg, #6a4c4a, #4a2c2a);
}
/* ================================================= */
/* STYLES FOR ELEGANT OWNER SIGNATURE (REVISED)      */
/* ================================================= */

.owner-signature-box {
    margin-top: 15px;
    border-top: 1px solid #4a2c2a; /* A subtle separator line in your theme's brown */
    padding-top: 15px;
}

.owner-signature-box p {
    margin: 4px 0; /* Tighter vertical spacing for a block feel */
    font-family: 'Noto Serif Devanagari', serif; /* Using your main, classic font */
}

.owner-title {
    font-size: 0.9em;
    color: #a9a9a9; /* A softer, less prominent color for the title */
    letter-spacing: 1px;
    text-transform: uppercase;
}

.owner-main-name {
    font-size: 1.5em; /* Larger, but not huge */
    font-weight: bold;
    color: #f5eeda; /* A soft, elegant off-white (like parchment) for better contrast */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* A more subtle shadow */
}

.owner-lineage {
    font-size: 1.25em;
    color: #ccc;
    font-style: italic; /* Italicize the second line for style */
}

/* --- Styles for Superadmin Dashboard --- */
.rejection-form {
    margin-top: 15px;
    border-top: 1px dashed #666;
    padding-top: 15px;
}
.rejection-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

/* --- Styles for Superadmin Approved List --- */
.approved-card {
    background-color: #002f5f;
    border-left: 5px solid #28a745; /* Green border for approved items */
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.approved-card p {
    margin: 5px 0;
}

/* --- Styles for User Booking Status Cards --- */
.booking-status-card {
    background-color: #002f5f;
    border-left: 5px solid #6c757d; /* Default pending color */
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 4px;
    position: relative;
}
.booking-status-card.status-approved { border-color: #28a745; /* Green */ }
.booking-status-card.status-rejected { border-color: #dc3545; /* Red */ }
.status-tag {
    position: absolute;
    top: -10px; right: 15px;
    background-color: #6c757d; /* Default pending color */
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}
.booking-status-card.status-approved .status-tag { background-color: #28a745; }
.booking-status-card.status-rejected .status-tag { background-color: #dc3545; }

/* --- Styles for Dystopian ID Card --- */
.id-card {
    width: 350px;
    height: 550px;
    background: linear-gradient(160deg, #1a1a2e, #16213e, #0f3460);
    margin: 30px auto;
    border-radius: 15px;
    border: 1px solid #e94560;
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.4);
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
}
.id-card-header { text-align: center; padding: 20px; border-bottom: 1px dashed #0f0e0e; }
.id-logo { width: 50px; margin-bottom: 10px; }
.id-card-header h3 { margin: 0; color: #0a0909; font-size: 1.1em; letter-spacing: 2px; }
.id-card-body { padding: 20px; display: flex; flex-direction: column; align-items: center; }
.id-pfp { width: 150px; height: 150px; border-radius: 50%; border: 3px solid #070606; object-fit: cover; }
.id-details { width: 100%; margin-top: 20px; }
.id-details p { display: flex; justify-content: space-between; margin: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; }
.id-details .label { font-size: 0.8em; color: #a9a9a9; }
.id-details .value { font-size: 1.1em; font-weight: bold; color: #fff; }

/* ================================================= */
/* STYLES FOR ADVANCED DYSTOPIAN ID CARD (REDESIGN)  */
/* ================================================= */
.id-card {
    width: 380px;
    height: 600px;
    margin: 30px auto;
    border-radius: 20px;
    color: #c5c6c7;
    font-family: 'Roboto Mono', monospace; /* The new tech font */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; /* Important for pseudo-elements */
    
    /* Dark, textured background */
    background-color: #0b0c10;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid hsl(55, 96%, 69%); /* Neon cyan border */
    box-shadow: 0 0 15px #ddf05f, inset 0 0 15px hwb(63 40% 1%);
}

/* Holographic overlay that shimmers on hover */
.id-card-gloss {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%);
    transform: rotate(45deg);
    transition: transform 0.6s ease-in-out;
    pointer-events: none;
}
.id-card:hover .id-card-gloss {
    transform: translate(25%, 25%) rotate(45deg);
}

.id-card-header { text-align: center; padding: 15px; border-bottom: 1px solid #45a29e; }
.id-logo { width: 40px; margin-bottom: 5px; opacity: 0.8; }
.id-card-header h3 { margin: 0; color: #66fcf1; font-size: 0.9em; letter-spacing: 3px; font-weight: bold; }

.id-card-body { padding: 25px; display: flex; flex-direction: column; align-items: center; z-index: 2; }
.id-pfp-container {
    width: 160px; height: 160px;
    /* Hexagonal shape for the profile picture */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: #66fcf1;
    padding: 4px;
}
.id-pfp {
    width: 100%; height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.id-details { width: 100%; margin-top: 25px; }
.id-details p { margin: 12px 0; padding-bottom: 8px; border-bottom: 1px solid rgba(102, 252, 241, 0.2); }
.id-details .label { font-size: 0.8em; color: #45a29e; text-transform: uppercase; }
.id-details .value { font-size: 1.1em; color: #c5c6c7; float: right; font-weight: bold; }

.id-card-footer { text-align: center; margin-top: auto; padding: 10px; z-index: 2; }
.barcode {
    width: 80%;
    height: 40px;
    margin: 0 auto 10px auto;
    /* CSS generated barcode */
    background: repeating-linear-gradient(90deg, #c5c6c7, #c5c6c7 2px, transparent 2px, transparent 4px);
}
.id-card-footer p { font-size: 0.7em; letter-spacing: 1px; margin: 0; }