/* Container */
.form-wrapper {
    width: 100%;
    max-width: 450px;
    margin: 60px auto;
    padding: 20px 0;
    text-align: center;
}

/* Title */
.form-wrapper h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #0C2452;
}

.resume-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* Labels */
.resume-form label {
    display: block;
    text-align: left;
    margin: 14px 0 6px;
    font-size: 15px;
    color: #0C2452;
}

/* Inputs */
.resume-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #dfe6ee;  
    outline: none;
    border-radius: 8px;
    font-size: 15px;
    background: #ffffff;
    color: #333;
    box-sizing: border-box;
}

/* Button */
.primary-btn {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    border: none;
    border-radius: 8px;
    background: #0C2452;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s ease;
}

.primary-btn:hover {
    background: #143A7B;
    transform: translateY(-2px);
}

/* Footer */
.login-footer {
    margin-top: 20px;
    color: #0C2452;
    font-size: 14px;
}
.login-footer a:hover {
    color: #1CA7A3;
}
input::placeholder {
  color: #333
}
.fa-ellipsis-vertical {
    top: 18px;
    right: 6px;
}
.form-wrapper.shifted-down {
    margin-top: 60px;  /* adjust to taste */
    transition: margin-top 0.2s ease;
}


.resume-form select {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    font-family: inherit;
    color: #333;              
    border: 1px solid #d6e0ef;
    border-radius: 8px;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;    }

/* Placeholder + default option color */
.resume-form select:invalid {
    color: #333;
}
resume-form select:focus {
  outline: 2px solid #1ca7a3;
  box-shadow: 0 0 4px rgba(0, 158, 158, 0.4);
}
/* Dropdown arrow (custom) */
.resume-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%230a2d64' d='M5.5 7.5L10 12l4.5-4.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px; /* space for arrow */
}

/* ===========================================
   MOBILE & TABLET (0–1024px)
   =========================================== */
@media (max-width: 1024px) {

    /* Hide sidebar */
    .left-sidebar {
        display: none !important;
    }

    /* Main container padding */
    .main-view-container {
        margin: 0;
        padding: 1.5rem;
        gap: 2rem;
    }

    /* USER HEADER (Initials + Ellipsis) */
    .mobile-user-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .user-initials-circle {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: #0A2D64;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 1px;
        
        text-transform: uppercase;
    }

    /* LOGOUT POPUP */
    

    .logout-popup.hidden {
        display: none;
    }

    .logout-popup button {
        background: none;
        border: none;
        font-size: 1rem;
        color: #C62828;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* FORM WRAPPER */
    .form-wrapper {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
        margin-top: 2rem;
    }

    .form-wrapper h2 {
        margin-bottom: 1.5rem;
        font-size: 1.6rem;
    }

    .resume-form label {
        text-align: left;
        display: block;
        margin-bottom: 0.4rem;
    }

    .resume-form input {
        width: 100%;
        padding: 0.9rem;
        border-radius: 10px;
        border: 1px solid #ccc;
        font-size: 1rem;
    }

    .primary-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    /* Bottom mobile navigation bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #0A2D64;
        display: flex;
        justify-content: space-between; /* cleaner, even spacing */
        align-items: center;
        padding: 0.95rem 1rem; /* improved tap area + left/right padding */
        z-index: 9999;
        box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.15);
    }

    /* Each button */
    .mobile-bottom-nav .nav-item {
        color: white;
        text-decoration: none;
        font-size: 0.88rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem; /* slightly more space between icon + text */
        flex: 1; /* distributes spacing evenly */
    }

    /* Icons */
    .mobile-bottom-nav .nav-item i {
        font-size: 1.7rem;
    }

    /* Highlight active */
    .mobile-bottom-nav .nav-item.active-highlight i,
    .mobile-bottom-nav .nav-item.active-highlight span {
        color: #19C3BD;
    }

}

/* ===========================================
   DESKTOP (1025px+)
   Hide mobile-only UI
   =========================================== */
@media (min-width: 1025px) {
    .mobile-user-header,
    #menu-trigger,
    #logout-popup {
        display: none !important;
    }
}
