/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --primary-color: #0f2054;    /* Deep Navy Blue */
    --secondary-color: #eea20e;  /* Rich Gold/Yellow */
    --accent-color: #f8f8f8;     /* Very Light Grey */
    --text-color: #333333;
    --white: #ffffff;
    --font-stack: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

h1, h2, h3, h4, h5 {
    margin-bottom: 0.5em;
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================================
   2. BUTTONS & LINKS
   ========================================= */
.btn {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    opacity: 0.9;
    background-color: #d8920d;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-pharmacy {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

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

.btn-emergency {
    background-color: #d9534f;
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.9em;
    margin-right: 20px;
}

.btn-emergency:hover {
    background-color: #c9302c;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.text-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.text-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.top-bar {
    background-color: var(--accent-color);
    color: var(--primary-color);
    display: flex;
    padding: 5px 5%;
    font-size: 0.9em;
    border-bottom: 1px solid #ddd;
}

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

.contact-info span {
    margin-right: 20px;
    font-weight: 500;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 1.1em;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 260px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--secondary-color);
}

.dropdown-content li {
    margin: 0;
    display: block;
}

.dropdown-content li a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95em;
    color: var(--white);
}

.dropdown-content li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--secondary-color);
}

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

/* =========================================
   4. GENERAL PAGE SECTIONS
   ========================================= */
.page-header {
    background-color: #f4f6f9;
    color: var(--primary-color);
    padding: 60px 5%;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.page-header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2em;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.page-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 25px auto 0;
    border-radius: 2px;
}

/* =========================================
   5. HOME PAGE
   ========================================= */
.hero-section {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 80px 5%;
    min-height: 500px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 3em;
    color: var(--white);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.9);
}

.hero-content p {
    font-size: 1.3em;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    margin-bottom: 30px;
}

.usp-section {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--white);
}

.usp-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.usp-card {
    flex-basis: 23%;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: var(--accent-color);
    transition: box-shadow 0.3s;
}

.usp-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.usp-card .icon {
    font-size: 3em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.about-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    background-color: var(--accent-color);
}

.content-text {
    max-width: 55%;
}

.about-image-placeholder {
    width: 40%;
    height: 350px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.hours-location-section {
    padding: 60px 5%;
    text-align: center;
}

.schedule-map {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.schedule-block {
    text-align: left;
    padding: 30px; /* Increased padding for cleaner look */
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 45%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* New Grid Layout for Hours */
.schedule-grid {
    display: grid;
    grid-template-columns: 110px 1fr; /* Column 1: 110px wide, Column 2: Remaining space */
    row-gap: 12px; /* Space between rows */
    align-items: center;
}

.schedule-grid .day {
    font-weight: bold;
    color: var(--primary-color);
}

.schedule-grid .hours {
    color: #555;
    font-weight: 500;
}

.schedule-grid .closed {
    color: #999; /* Slightly dim the "Closed" text */
    font-style: italic;
}

/* Map Container remains the same */
.map-container {
    width: 45%;
    height: 350px; /* Matches the visual height of the list better now */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    .schedule-map {
        flex-direction: column;
        gap: 30px;
    }
    .schedule-block, .map-container {
        width: 100%;
    }
}

/* =========================================
   6. ABOUT PAGE (Special Sections)
   ========================================= */
.content-section {
    padding: 60px 5%;
    background-color: var(--white);
}

.text-block {
    max-width: 900px;
    margin: 0 auto;
}

/* Transformation Showcase */
.transformation-showcase {
    padding: 40px 5% 60px;
    background-color: var(--white);
}

.showcase-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    position: relative;
    flex-basis: 48%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    background-color: var(--accent-color);
}

.comparison-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.label {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    font-weight: bold;
    color: var(--white);
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.before-label { background-color: #777; }
.after-label { background-color: var(--secondary-color); color: var(--primary-color); }

.caption {
    padding: 20px;
    text-align: center;
}

.caption h4 { margin-bottom: 5px; }

/* Green Section */
.green-highlight {
    background-color: #e8f5e9;
    padding: 50px 5%;
    text-align: center;
    border-top: 4px solid #4caf50;
    border-bottom: 4px solid #4caf50;
}

.green-content { max-width: 800px; margin: 0 auto; }
.green-content .icon-large { font-size: 3em; color: #4caf50; margin-bottom: 15px; }
.green-content h2 { color: #2e7d32; }

/* Species List */
.species-section {
    padding: 60px 5%;
    text-align: center;
    background-color: var(--accent-color);
}

.species-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.species-list li {
    background-color: var(--white);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

/* =========================================
   7. SERVICES & MOBILE PAGES
   ========================================= */
.services-intro {
    padding: 60px 5%;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.intro-container { max-width: 1000px; margin: 0 auto; }

.intro-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.intro-text {
    flex: 1;
    font-size: 1.15em;
    line-height: 1.8;
}

.intro-image {
    flex: 0 0 350px;
    max-width: 100%;
}

.intro-image.landscape {
    flex: 0 0 450px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
    outline: 1px solid #ddd;
}

.cta-box {
    background-color: #f0f4f8;
    border-left: 5px solid var(--secondary-color);
    padding: 25px;
    margin-top: 30px;
    border-radius: 0 8px 8px 0;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

/* Services Grid */
.services-list-section {
    padding: 60px 5%;
    background-color: var(--accent-color);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-item {
    flex-basis: 45%;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-color);
}

.service-item h3 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.service-item ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-item ul li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 5px;
}

/* Specialist Cards */
.specialist-section { padding: 60px 5%; background-color: var(--white); }

.specialist-card {
    max-width: 900px;
    margin: 0 auto 30px auto;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fcfcfc;
    border-left: 5px solid var(--secondary-color);
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; top: 0; width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 40px;
    width: 90%; max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-top: 6px solid var(--secondary-color);
}

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

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

.info-trigger {
    background: none; border: none; font-family: inherit; font-size: 1em; color: var(--text-color);
    cursor: pointer; padding: 0; text-decoration: underline; text-decoration-style: dotted;
}

.info-trigger:hover { color: var(--secondary-color); }

.alert-box {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    color: #856404;
    margin-top: 20px;
}

/* =========================================
   8. ARTICLES PAGE
   ========================================= */
.article-section {
    padding: 60px 5%;
    background-color: var(--white);
}

.article-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.main-article { flex: 3; }

.article-title { font-size: 2.2em; margin-bottom: 5px; }
.article-author { font-style: italic; color: #666; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.article-body p { margin-bottom: 20px; font-size: 1.1em; line-height: 1.8; }
.article-body h3 { color: var(--secondary-color); margin-top: 30px; font-size: 1.5em; }

.sidebar { flex: 1; min-width: 300px; }
.sidebar-image img { width: 100%; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.sidebar-box { background-color: var(--accent-color); padding: 25px; border-radius: 8px; margin-top: 30px; border-top: 4px solid var(--primary-color); }

/* =========================================
   9. CONTACT PAGE
   ========================================= */
.contact-section { padding: 60px 5%; }
.contact-container { max-width: 1100px; margin: 0 auto; display: flex; gap: 60px; }

.contact-info-panel { flex: 1; }
.info-item { display: flex; align-items: flex-start; margin-bottom: 25px; font-size: 1.1em; }
.icon-gold { color: var(--secondary-color); font-size: 1.5em; margin-right: 15px; width: 25px; text-align: center; }

/* --- RESTORED MAP CONTAINER SMALL --- */
.map-container-small {
    margin-top: 30px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.map-container-small iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-panel {
    flex: 1.2;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    border-top: 5px solid var(--primary-color);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--secondary-color); outline: none; box-shadow: 0 0 5px rgba(238, 162, 14, 0.3);
}

/* =========================================
   10. PRIVACY / LEGAL PAGE
   ========================================= */
.legal-section { padding: 60px 5%; min-height: 500px; }
.legal-container { max-width: 800px; margin: 0 auto; }
.legal-container h2 { margin-top: 40px; border-bottom: 1px solid #eee; padding-bottom: 10px; font-size: 1.5em; }
.legal-container p, .legal-container ul { margin-bottom: 15px; }

/* =========================================
   11. TEAM SECTION (ZIGZAG LAYOUT)
   ========================================= */
.team-section { padding: 60px 5%; }
.team-section.alt-bg { background-color: var(--accent-color); }
.team-container { max-width: 1100px; margin: 0 auto; }

/* Row Container */
.team-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
}

.team-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Alternating Logic: Reverse even rows */
.team-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Info Side */
.team-info-side {
    flex: 1;
    font-size: 1.05em;
}

.team-info-side h2 {
    font-size: 2em;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.job-title-large {
    display: block;
    font-size: 1.1em;
    color: #666;
    font-weight: bold;
    margin-bottom: 20px;
}

.bio-content {
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.bio-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.interests {
    margin-top: 15px;
    font-style: italic;
    color: #555;
}

/* Photo Side */
.team-photo-side {
    flex: 0 0 400px;
    max-width: 100%;
}

.team-photo-side img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: block;
}

.no-staff { text-align: center; font-style: italic; color: #777; }

/* =========================================
   12. FOOTER
   ========================================= */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 5%;
    text-align: center;
    font-size: 0.9em;
}

.footer-nav { margin-bottom: 20px; }
.footer-nav a { color: var(--secondary-color); margin: 0 15px; font-weight: 500; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }

.social-icons { margin-bottom: 20px; }
.social-icons a { color: var(--secondary-color); font-size: 1.4em; margin: 0 12px; display: inline-block; transition: transform 0.2s; }
.social-icons a:hover { color: var(--white); transform: translateY(-2px); }

.copyright {
    font-size: 0.8em;
    color: #ccc;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* =========================================
   13. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 900px) {
    /* Layout Stacking */
    .hero-section, .about-section, .intro-layout, .contact-container, .article-container, .schedule-map {
        flex-direction: column;
    }
    
    .hero-content, .content-text, .intro-text, .map-container, .schedule-block {
        width: 100%; max-width: 100%;
    }
    
    .about-image-placeholder, .intro-image {
        width: 100%; height: 300px; margin-top: 20px;
    }

    /* Team Stacking */
    .team-row, .team-row:nth-child(even) {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .team-photo-side { flex: auto; width: 100%; max-width: 500px; margin: 0 auto; }
    .team-info-side { text-align: center; }

    /* Navigation */
    .main-nav { flex-direction: column; align-items: flex-start; }
    .nav-links { flex-direction: column; width: 100%; margin-top: 15px; }
    .nav-links li { margin: 10px 0; }
    .nav-actions { margin-top: 15px; align-self: flex-start; }
    
    /* Article */
    .article-container { flex-direction: column-reverse; }
    
    /* Cards */
    .usp-grid { flex-wrap: wrap; }
    .usp-card, .service-item { flex-basis: 100%; }

    .dropdown.open-mobile .dropdown-content {
        display: block !important;
        position: relative; /* Pushes the links below it down instead of overlapping */
        box-shadow: none;   /* Flattens it out for mobile */
        background-color: transparent; 
        padding-left: 15px; /* Indents the sub-links slightly */
    }
}

/* =========================================
   14. ARTICLE LIST (CARDS)
   ========================================= */
.article-container-full {
    max-width: 1200px;
    margin: 0 auto;
}

.article-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center; /* Centers cards if row isn't full */
}

.article-card {
    flex-basis: calc(33.333% - 30px); /* 3 per row */
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.article-card-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--accent-color);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-content h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-card-content h2 a {
    text-decoration: none;
    color: var(--primary-color);
}

.article-card-content h2 a:hover {
    color: var(--secondary-color);
}

.card-author {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
    font-style: italic;
}

.card-excerpt {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.article-card-content .btn {
    align-self: flex-start;
}

@media (max-width: 900px) {
    .article-card {
        flex-basis: calc(50% - 20px); /* 2 per row on tablet */
    }
}

@media (max-width: 600px) {
    .article-card {
        flex-basis: 100%; /* 1 per row on mobile */
    }
}

/* =========================================
   15. EMERGENCY PAGE
   ========================================= */
.emergency-container {
    max-width: 1000px;
    margin: 0 auto;
}

.emergency-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.emergency-text {
    flex: 1.5;
}

.emergency-image {
    flex: 1;
    max-width: 400px;
}

.emergency-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 4px solid var(--white);
}

.emergency-block {
    margin-bottom: 40px;
}

/* Added extra padding above the after-hours section */
/* .emergency-block.after-hours {
    padding-top: 40px;
} */

.emergency-block h2 {
    font-size: 1.8em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.emergency-block h2 i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.hospital-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 20px;
}

.hospital-card h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
}

.hospital-card h3 a {
    text-decoration: none;
    color: var(--primary-color);
}

.hospital-card h3 a:hover {
    text-decoration: underline;
}

.mt-20 {
    margin-top: 20px;
}

@media (max-width: 900px) {
    .emergency-layout {
        flex-direction: column-reverse;
    }
    .emergency-image {
        width: 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
}

/* Full-screen overlay */
.alert-banner {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}

/* Popup box */
.alert-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    width: 100%;
    max-width: 700px;
    background-color: #eea20e;
    color: #222;
    border-radius: 8px;
    padding: 24px 50px 24px 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,.35);
    box-sizing: border-box;
    animation: popupFade .3s ease;
}

/* Icon */
.alert-container > .fa-exclamation-circle {
    font-size: 1.8rem;
    margin-right: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Text */
.alert-text {
    flex: 1;
    line-height: 1.6;
}

.alert-text strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.15rem;
}

/* Close button */
.close-popup-btn {
    position: absolute;
    top: 12px;
    right: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;
    margin: 0;

    border: none;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;

    background: transparent;

    color: rgba(0,0,0,.65);
    cursor: pointer;

    transition: background-color .2s ease,
                color .2s ease,
                transform .2s ease;
}

.close-popup-btn:hover {
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    color: #000;
}

.close-popup-btn:focus {
    outline: none;
    box-shadow: none;
}

.close-popup-btn i {
    font-size: 1.5rem;
    pointer-events: none;
}
/* Mobile */
@media (max-width: 600px) {
    .alert-container {
        padding: 20px 45px 20px 18px;
    }

    .alert-container > .fa-exclamation-circle {
        font-size: 1.5rem;
        margin-right: 12px;
    }

    .close-popup-btn {
        top: 10px;
        right: 10px;
    }
}