* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

/* STAFF HEADER */
.staff-header {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #006633 0%, #004422 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    color: white;
    border-bottom: 2px solid #003311;
}

.staff-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
}

.staff-user-info i {
    font-size: 24px;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logout-btn:active {
    transform: translateY(0);
}

/* MAIN CONTENT WRAPPER */
.content-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* LEFT SIDE IMAGE */
.left-section {
    position: relative;
    width: 50%;
    background:
        linear-gradient(rgba(0, 51, 102, 0.75), rgba(0, 102, 51, 0.75)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 40px;
}

/* LOGO ON IMAGE */
.image-logo {
    position: absolute;
    top: 25px;
    left: 25px;
}

.image-logo img {
    width: 100%;
    height: 7vh;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 12px;
    animation: floatLogo 4s ease-in-out infinite;
}

.left-content h1 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.left-content p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 520px;
    font-weight: 500;
}

/* RIGHT SIDE FORM */
.right-section {
    width: 50%;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.form-container {
    width: 100%;
    height: 100%;
    background: white;
    padding: 40px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* FORM SECTIONS */
.form-section {
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #e4e8ee;
}

.section-title {
    margin-bottom: 15px;
    color: #006633;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* INPUT STYLING */
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #f9fafc;
    transition: 0.3s;
    font-size: 14px;
    color: #333;
}

.input-group input:focus,
.input-group select:focus {
    border-color: #006633;
    background: white;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 102, 51, 0.1);
}

/* BUTTON */
.submit-btn {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    background: #006633;
    color: white;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

/* RESPONSIVE */
@media(max-width:900px) {
    body {
        flex-direction: column;
        max-height: none;
        overflow: auto;
    }

    .staff-header {
        height: 56px;
        padding: 0 16px;
    }

    .content-wrapper {
        flex-direction: column;
    }

    .left-section,
    .right-section {
        width: 100%;
        height: auto;
    }

    .left-section {
        min-height: 240px;
        border-radius: 0;
        padding: 24px;
        background-position: center top;
    }

    .left-content h1 {
        font-size: 32px;
    }

    .left-content p {
        font-size: 15px;
        max-width: 100%;
    }

    .right-section {
        min-height: auto;
        display: block;
    }

    .form-container {
        padding: 20px;
        padding-bottom: 100px;
        height: auto;
        max-width: 720px;
        margin: 0 auto;
        box-shadow: 0 -6px 20px rgba(0,0,0,0.06);
        border-radius: 12px 12px 0 0;
    }

    /* Restore scrolling on mobile: allow wrapper overflow and make form scrollable */
    .content-wrapper {
        overflow: visible;
    }

    .right-section {
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .form-container {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - 64px);
    }

    .image-logo {
        display: none;
    }

    .image-logo img {
        display: none;
    }

    .input-group input,
    .input-group select {
        padding: 14px;
        font-size: 16px;
    }

    .submit-btn {
        position: static;
        bottom: auto;
        width: 100%;
        margin: 16px 0 0 0;
        box-shadow: none;
        border-radius: 8px;
        z-index: auto;
    }

    .form-section {
        padding-bottom: 18px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 12px;
    }

    .feedback {
        font-size: 0.85rem;
    }
}

/* PRESERVED UTILITY CLASSES */

.feedback {
    font-size: 0.8rem;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.feedback.error {
    color: #cc3300;
}

.feedback.success {
    color: #006633;
}

.tin-message {
    background: #eef7f2;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #006633;
    border: 1px solid #ccebd6;
    display: flex;
    gap: 8px;
    align-items: center;
}

.tin-message a {
    color: #004422;
    font-weight: 700;
    text-decoration: underline;
}

/* Modal Styling adjustments to match new theme */
.modal {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

