﻿/* ============================================
   GVISH ADMISSION PORTAL - REFINED STYLESHEET
   Color Scheme: Deep Teal & Elegant Neutrals
   Modern, Professional, Accessible Design
   ============================================ */

/* ---------- IMPORT FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ---------- CSS VARIABLES (Deep Teal Theme) ---------- */
:root {
    /* Primary Teals - Inspired by provided gradient */
    --teal-deep: #1A6B7A;
    --teal-vivid: #208B9E;
    --teal-light: #eef7f9;
    --teal-soft: #dff0f3;
    --teal-mist: #f0f8fa;
    --teal-primary: #1A6B7A;
    --teal-primary-light: #2c8b9e;
    --teal-primary-dark: #0e4f5c;
    --teal-accent: #208B9E;
    --teal-pale: #cdeef3;
    --teal-glass: rgba(26, 107, 122, 0.08);
    /* Neutrals */
    --pure-white: #ffffff;
    --off-white: #fbfefe;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    /* Accent Colors */
    --teal-accent-light: #14b8a6;
    --emerald: #10b981;
    --rose: #f43f5e;
    --amber: #f59e0b;
    /* Shadows - Soft & Diffuse */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    --shadow-focus: 0 0 0 3px rgba(26, 107, 122, 0.15);
    --shadow-primary: 0 4px 14px rgba(26, 107, 122, 0.2);
    /* Borders */
    --border-light: 1px solid rgba(0, 0, 0, 0.04);
    --border-soft: 1px solid rgba(26, 107, 122, 0.1);
    --border-faint: 1px solid #eef2f0;
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.35s ease;
}

/* ---------- GLOBAL RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--off-white) 100%);
    color: var(--gray-800);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ---------- PAGE WRAPPER ---------- */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ============================================
   HEADER-ONLY LAYOUT (Sidebar removed)
   ============================================ */
.page-container {
    margin-left: 0;
    width: 100%;
}

/* ============================================
   TOP NAVIGATION BAR - Teal Gradient
   ============================================ */
.header-desktop {
    background: linear-gradient(110deg, #1A6B7A 0%, #208B9E 50%, #1A6B7A 100%);
    position: sticky;
    top: 30px;
    z-index: 100;
    box-shadow: var(--shadow-md);
    border-bottom: none;
}

    .header-desktop .section__content {
        padding: 12px 32px;
    }

/* Flex navigation wrapper */
.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

    /* Logo area styling */
    .header-wrapper > img {
        height: 55px;
        width: auto;
        background: #ffffff5c;
        border-radius: var(--radius-md);
        padding: 6px 15px;
        transition: var(--transition-fast);
        object-fit: contain;
    }

        .header-wrapper > img:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.02);
        }

/* Header Title */
.header-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--pure-white);
    margin: 0;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    text-align: center;
}

/* Logout button styling */
.header-wrapper > div {
    flex-shrink: 0;
}

    .header-wrapper > div a {
        display: flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: var(--radius-lg);
        padding: 8px 20px;
        text-decoration: none;
        transition: var(--transition-fast);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

        .header-wrapper > div a:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-1px);
            border-color: rgba(255, 255, 255, 0.3);
        }

        .header-wrapper > div a img {
            width: 20px;
            height: 20px;
            filter: brightness(0) invert(1);
        }

        .header-wrapper > div a span {
            color: var(--pure-white);
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.3px;
        }

/* ============================================
   MOBILE HEADER - Responsive Design
   ============================================ */
.header-mobile {
    background: linear-gradient(110deg, #1A6B7A 0%, #208B9E 50%, #1A6B7A 100%);
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    box-shadow: var(--shadow-md);
}

.header-mobile__bar {
    padding: 12px 20px;
}

.header-mobile-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Mobile Logo */
.header-mobile .logo {
    flex-shrink: 0;
}

    .header-mobile .logo img {
        height: 45px;
        width: auto;
        background: #ffffff5c;
        border-radius: var(--radius-sm);
        padding: 5px 12px;
        object-fit: contain;
    }

/* Mobile Title */
.mobile-title {
    flex: 1;
    text-align: center;
}

    .mobile-title h2 {
        font-family: 'Outfit', sans-serif;
        font-size: 16px;
        font-weight: 600;
        color: var(--pure-white);
        margin: 0;
        letter-spacing: -0.2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-title p {
        font-size: 9px;
        color: rgba(255, 255, 255, 0.7);
        margin: 2px 0 0;
        letter-spacing: 0.5px;
    }

/* Hamburger Menu Button */
.hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

    .hamburger:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.hamburger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 24px;
        height: 2px;
        background-color: var(--pure-white);
        border-radius: 4px;
        position: absolute;
        transition: transform 0.15s ease;
    }

        .hamburger-inner::before,
        .hamburger-inner::after {
            content: "";
            display: block;
        }

        .hamburger-inner::before {
            top: -8px;
        }

        .hamburger-inner::after {
            bottom: -8px;
        }

/* Mobile Navigation Drawer */
.navbar-mobile {
    background: var(--pure-white);
    border-top: 1px solid var(--teal-pale);
    display: none;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

    .navbar-mobile.active {
        display: block;
        animation: slideDown 0.3s ease;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-mobile__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .navbar-mobile__list li {
        margin-bottom: 8px;
    }

        .navbar-mobile__list li a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 16px;
            color: var(--teal-primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 15px;
            border-radius: var(--radius-md);
            transition: var(--transition-fast);
            background: var(--teal-light);
        }

            .navbar-mobile__list li a:hover {
                background: var(--teal-primary);
                color: var(--pure-white);
            }

            .navbar-mobile__list li a img {
                width: 22px;
                height: 22px;
                filter: brightness(0) saturate(100%) invert(27%) sepia(67%) saturate(496%) hue-rotate(148deg) brightness(92%) contrast(87%);
            }

            .navbar-mobile__list li a:hover img {
                filter: brightness(0) invert(1);
            }

/* ============================================
   MAIN CONTENT - Adjust for mobile header
   ============================================ */
.main-content {
    background: transparent;
    padding: 28px 32px;
    min-height: calc(100vh - 120px);
}

    .main-content .section__content {
        padding: 0;
    }

/* ============================================
   CARDS - Elegant & Clean
   ============================================ */
.card {
    background: var(--pure-white);
    border: 1px solid var(--teal-pale);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 28px;
    transition: var(--transition-normal);
}

    .card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.card-header {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-mist) 100%);
    padding: 18px 28px;
    border-bottom: 1px solid var(--teal-pale);
}

    .card-header center h3,
    .card-header h3 {
        color: var(--teal-primary-dark);
        font-family: 'Outfit', sans-serif;
        font-size: 20px;
        font-weight: 600;
        margin: 0;
        letter-spacing: -0.2px;
    }

        .card-header center h3::before,
        .card-header h3::before {
            content: '✦';
            margin-right: 10px;
            font-size: 18px;
            color: var(--teal-primary);
        }

.card-body {
    padding: 28px 30px;
}

/* Dashboard Navigation Cards */
#admin-login-card {
    margin-bottom: 28px;
}

    #admin-login-card .row {
        margin: 0;
    }

    #admin-login-card .col-md-3 {
        padding: 10px;
    }

/* Dashboard Buttons - Teal theme */

/* Completed section - Green */
.btn-danger.btn-block.completed {
    background: linear-gradient(110deg, #10b981 0%, #059669 50%, #10b981 100%) !important;
}

    .btn-danger.btn-block.completed:hover {
        background: linear-gradient(110deg, #34d399 0%, #10b981 50%, #34d399 100%) !important;
    }


/* Edit Buttons */
.card-header .btn {
    background: var(--pure-white);
    border: 1px solid var(--teal-pale);
    border-radius: var(--radius-md);
    padding: 6px 18px;
    font-weight: 500;
    font-size: 12px;
    color: var(--teal-primary);
    transition: var(--transition-fast);
    cursor: pointer;
}

    .card-header .btn:hover {
        background: var(--teal-primary);
        color: var(--pure-white);
        border-color: var(--teal-primary);
        transform: translateY(-1px);
    }

/* ============================================
   FORM STYLES - Modern & Clean
   ============================================ */
.form-group {
    margin-bottom: 22px;
}

    .form-group label {
        font-weight: 600;
        font-size: 13px;
        color: var(--gray-700);
        margin-bottom: 8px;
        display: block;
        letter-spacing: -0.2px;
    }

/* Form Controls - Teal focus */
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--teal-pale);
    border-radius: var(--radius-md);
    background: var(--pure-white);
    transition: var(--transition-fast);
    color: var(--gray-800);
}

    .form-control:focus {
        outline: none;
        border-color: var(--teal-primary);
        box-shadow: var(--shadow-focus);
        background: var(--pure-white);
    }

    .form-control::placeholder {
        color: var(--gray-400);
        font-size: 13px;
    }

/* Textarea */
textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* Select Dropdown */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Radio Button List - Modern */
.RadioButtonList {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    background: var(--gray-50);
    border: 1px solid var(--teal-pale);
    border-radius: var(--radius-lg);
    padding: 10px 20px;
    margin: 0;
}

    .RadioButtonList input[type="radio"] {
        appearance: none;
        width: 18px;
        height: 18px;
        border: 2px solid var(--gray-300);
        border-radius: 50%;
        margin-right: 8px;
        position: relative;
        top: 2px;
        cursor: pointer;
        transition: var(--transition-fast);
    }

        .RadioButtonList input[type="radio"]:checked {
            border-color: var(--teal-primary);
            background-color: var(--teal-primary);
            box-shadow: inset 0 0 0 3px var(--pure-white);
        }

    .RadioButtonList label {
        display: inline-flex;
        align-items: center;
        cursor: pointer;
        font-weight: 500;
        margin-bottom: 0;
        font-size: 13px;
        color: var(--gray-700);
    }

/* ============================================
   VALIDATION STYLES
   ============================================ */
span[style*="color:Red"],
.validator-error {
    font-size: 16px !important;
    margin-top: 6px;
    /*display: inline-block;*/
    font-weight: 500;
    color: var(--rose) !important;
}

b[style*="color:red"] {
    color: var(--rose) !important;
    font-size: 13px;
    margin-left: 2px;
}

/* ============================================
   SAVE BUTTON - Teal Gradient
   ============================================ */
.btn-success {
    background: linear-gradient(110deg, #1A6B7A 0%, #208B9E 50%, #1A6B7A 100%);
    border: none;
    border-radius: var(--radius-lg);
    padding: 14px 32px;
    font-weight: 600;
    font-size: 14px;
    color: var(--pure-white);
    transition: var(--transition-normal);
    /*width: 100%;*/
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-primary);
}

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(26, 107, 122, 0.3);
        background: linear-gradient(110deg, #1f7d8f 0%, #249eb3 50%, #1f7d8f 100%);
    }

    .btn-success:active {
        transform: translateY(0);
    }

/* ============================================
   GRID SYSTEM
   ============================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

[class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
}

.col-lg-1 {
    width: 8.333333%;
}

.col-lg-2 {
    width: 16.666667%;
}

.col-lg-3 {
    width: 25%;
}

.col-lg-4 {
    width: 33.333333%;
}

.col-lg-5 {
    width: 41.666667%;
}

.col-lg-6 {
    width: 50%;
}

.col-lg-7 {
    width: 58.333333%;
}

.col-lg-8 {
    width: 66.666667%;
}

.col-lg-9 {
    width: 75%;
}

.col-lg-10 {
    width: 83.333333%;
}

.col-lg-11 {
    width: 91.666667%;
}

.col-lg-12 {
    width: 100%;
}

/* ============================================
   AUTOCOMPLETE
   ============================================ */
.ui-autocomplete {
    max-height: 240px;
    overflow-y: auto;
    background: var(--pure-white);
    border: 1px solid var(--teal-pale);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    padding: 8px 0;
}

    .ui-autocomplete .ui-menu-item {
        padding: 10px 16px;
        font-size: 13px;
        cursor: pointer;
        transition: var(--transition-fast);
    }

        .ui-autocomplete .ui-menu-item:hover,
        .ui-autocomplete .ui-menu-item.ui-state-focus {
            background: var(--teal-light);
            color: var(--teal-primary);
        }

/* ============================================
   FOOTER - Teal Accent
   ============================================ */
.copyright {
    background: linear-gradient(110deg, #1A6B7A 0%, #208B9E 50%, #1A6B7A 100%);
    padding: 20px 32px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-align: center;
    border-top: none;
    margin-top: 40px;
}

    .copyright a {
        color: var(--pure-white);
        text-decoration: none;
        font-weight: 500;
    }

        .copyright a:hover {
            text-decoration: underline;
        }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 992px) {
    .header-desktop .section__content {
        padding: 10px 24px;
    }

    .header-title {
        font-size: 20px;
    }

    .header-wrapper {
        gap: 15px;
    }

        .header-wrapper > img {
            height: 48px;
            padding: 5px 12px;
        }

        .header-wrapper > div a {
            padding: 6px 16px;
        }

    .main-content {
        padding: 24px;
    }

    .card-body {
        padding: 24px 20px;
    }
}

@media (max-width: 768px) {
    /* Hide desktop header on mobile */
    .header-desktop {
        display: none;
    }

    /* Show mobile header */
    .header-mobile {
        display: block;
    }

    /* Adjust page container for fixed mobile header */
    .page-container {
        margin-left: 0;
        width: 100%;
    }

    /* Add top padding to main content to account for fixed header */
    .main-content {
        padding: 85px 16px 20px;
    }

    /* Full width grid on mobile */
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
        width: 100%;
    }

    /* Adjust card header for mobile */
    .card-header {
        padding: 14px 20px;
    }

        .card-header center h3 {
            font-size: 18px;
        }

    /* Dashboard buttons stack on mobile */
    #admin-login-card .col-md-3 {
        width: 100%;
        margin-bottom: 5px;
    }

    /* Radio button list responsive */
    .RadioButtonList {
        gap: 16px;
        padding: 8px 16px;
        flex-wrap: wrap;
    }

    /* Save button responsive */
    .btn-success {
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 75px 12px 16px;
    }

    .card-body {
        padding: 20px 16px;
    }

    .card-header center h3 {
        font-size: 16px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-control {
        padding: 10px 14px;
        font-size: 13px;
    }

    .RadioButtonList {
        flex-direction: column;
        gap: 10px;
    }

    /* Mobile title adjustments */
    .mobile-title h2 {
        font-size: 14px;
    }

    .mobile-title p {
        font-size: 8px;
    }

    .header-mobile__bar {
        padding: 10px 15px;
    }

    .header-mobile .logo img {
        height: 38px;
        padding: 4px 10px;
    }

    .navbar-mobile {
        padding: 12px 15px;
    }

    .navbar-mobile__list li a {
        padding: 12px 14px;
        font-size: 14px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.card {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* ============================================
   SCROLLBAR - Teal Theme
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--teal-pale);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--teal-primary);
    }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary-teal {
    color: var(--teal-primary);
}

.bg-soft-teal {
    background: var(--teal-light);
}

.border-soft {
    border: 1px solid var(--teal-pale);
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header-desktop,
    .header-mobile,
    .btn,
    .btn-success,
    .copyright {
        display: none !important;
    }

    .page-container {
        margin-left: 0;
        width: 100%;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    body {
        background: var(--pure-white);
    }
}

/* ============================================
   FOCUS VISIBLE ACCESSIBILITY
   ============================================ */
:focus-visible {
    outline: 2px solid var(--teal-primary);
    outline-offset: 2px;
}

/* ============================================
   LOADING STATE
   ============================================ */
.loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        border: 2px solid var(--gray-200);
        border-top-color: var(--teal-primary);
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
/* ============================================
   SECTION STATUS STYLES
   ============================================ */

/* Completed section - Green gradient */
.btn-danger.btn-block.completed {
    background: linear-gradient(110deg, #10b981 0%, #059669 50%, #10b981 100%) !important;
    box-shadow: var(--shadow-primary);
    position: relative;
}

.btn-danger.btn-block.completed::after {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    color: white;
}

/* Pending section - Orange/Yellow gradient */
.btn-danger.btn-block.pending {
    background: linear-gradient(110deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%) !important;
}

/* In-progress section - Current teal gradient (default) */
.btn-danger.btn-block.in-progress {
    background: linear-gradient(110deg, #1A6B7A 0%, #208B9E 50%, #1A6B7A 100%);
}

/* Disabled/Saved but not completed */
.btn-danger.btn-block.saved {
    background: linear-gradient(110deg, #6b7280 0%, #4b5563 50%, #6b7280 100%) !important;
    opacity: 0.7;
}

/* Animation for status change */
@keyframes statusPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.btn-danger.btn-block.status-updated {
    animation: statusPulse 0.5s ease;
}


/* ============================================
   FINAL SUBMIT PAGE STYLES
   ============================================ */

/* Final Submit Container */
.final-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Preview Button Styling */
.preview-container {
    margin: 30px 0;
}

.preview-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(110deg, #1A6B7A 0%, #208B9E 50%, #1A6B7A 100%);
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

    .preview-link:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-primary);
        background: linear-gradient(110deg, #1f7d8f 0%, #249eb3 50%, #1f7d8f 100%);
    }

    .preview-link img {
        width: 24px;
        height: 24px;
        filter: brightness(0) invert(1);
    }

    .preview-link span {
        color: var(--pure-white);
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 0.5px;
    }

/* Info Labels */
.info-label {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8d4 100%);
    border-left: 4px solid #f59e0b;
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    margin: 20px 0;
    text-align: left;
}

.info-label-warning {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
}

.info-label-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-left: 4px solid #10b981;
}

/* Message Text */
.message-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    margin: 15px 0;
    padding: 15px 20px;
    border-radius: var(--radius-lg);
}

.message-text-warning {
    background: #fff3e0;
    color: #c2410c;
    border: 1px solid #ffedd5;
}

.message-text-danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

/* Final Head Text */
.final-headtext {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-mist) 100%);
    border-radius: var(--radius-xl);
    text-align: center;
}

    .final-headtext strong {
        color: var(--teal-primary);
    }

/* Important Note */
.important-note {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius-lg);
    padding: 15px 20px;
    margin: 20px 0;
    border: 1px solid #fcd34d;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

    .important-note::before {
        content: '⚠️';
        font-size: 24px;
    }

.important-note-text {
    color: #92400e;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

/* Final Submit Button */
.finalsubmit-btn {
    background: linear-gradient(110deg, #dc2626 0%, #b91c1c 50%, #dc2626 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 40px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: var(--pure-white) !important;
    transition: var(--transition-normal) !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
    min-width: 250px;
}

    .finalsubmit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
        background: linear-gradient(110deg, #ef4444 0%, #dc2626 50%, #ef4444 100%) !important;
    }

    .finalsubmit-btn:active {
        transform: translateY(0);
    }

/* Divider */
.custom-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.custom-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
}

.custom-divider-icon {
    color: var(--teal-primary);
    font-size: 20px;
}

/* Checkmark Animation */
@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: checkmark 0.5s ease;
}

    .success-checkmark::after {
        content: '✓';
        font-size: 32px;
        color: white;
        font-weight: bold;
    }

/* Responsive Styles */
@media (max-width: 768px) {
    .final-main {
        padding: 10px;
    }

    .final-headtext {
        font-size: 15px;
        padding: 15px;
    }

    .preview-link {
        padding: 10px 24px;
    }

        .preview-link span {
            font-size: 14px;
        }

    .finalsubmit-btn {
        padding: 12px 30px !important;
        font-size: 16px !important;
        min-width: 200px;
    }

    .info-label,
    .message-text {
        font-size: 13px;
    }

    .important-note-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .final-headtext {
        font-size: 13px;
        padding: 12px;
    }

    .preview-link {
        padding: 8px 20px;
    }

        .preview-link span {
            font-size: 13px;
        }

        .preview-link img {
            width: 18px;
            height: 18px;
        }

    .finalsubmit-btn {
        padding: 10px 24px !important;
        font-size: 14px !important;
        min-width: 180px;
    }
}



.gv-lang-top {
    width: 100%;
    background: #f8f9fa;
    padding: 6px 10px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
}
/* Google dropdown styling */
.goog-te-gadget {
    font-size: 0 !important;
}

    .goog-te-gadget .goog-te-combo {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 5px 10px;
        font-size: 13px;
        color: #333;
    }

@media (max-width: 991px) {
    .gv-lang-top {
        justify-content: center; /* center on mobile */
    }
}

/*body {
    padding-top: 45px;*/ /* height of translate bar */
/*}*/

@media (max-width: 991px) {
    body {
        padding-top: 45px;
    }
}


.notranslate {
    all: unset; /* removes unwanted browser styling that may come with Google Translate */
}