body {
        background: linear-gradient(135deg, #1f1f1f 0%, #2c2c2c 100%);
        min-height: 100vh;
        font-family: 'Poppins', sans-serif;
        color: #e0e0e0;
        overflow: hidden; /* Prevent body scroll */
    }

    .register-card {
        background: #2a2a2a;
        border-radius: 20px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.5);
        padding: 40px 30px;
        transition: transform 0.3s ease;
        max-width: 380px;
        width: 90%;
        max-height: 98vh; /* Keep card within viewport */
    }

    /* Logos */
    .logo-container{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:15px;
        margin-bottom:10px;
    }
    .logo-container img:last-child{
        transform: scale(1.2);
        transform-origin: center;
    }
    .logo{
        width:60px;
        height:auto;
        object-fit:contain;
    }

    h3 {
        font-weight: 600;
        letter-spacing: 1px;
        color: #f5f5f5;
        text-align: center;
        margin-bottom: 25px;
    }

    .btn-primary {
        background: linear-gradient(135deg, #3a3a6f 0%, #764ba2 100%);
        border: none;
        padding: 10px;
        font-weight: 600;
        width: 100%;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .btn-primary:hover {
        background: linear-gradient(135deg, #2c2c5b 0%, #5f3b8c 100%);
    }

    /* Style the Office dropdown like your text inputs */
    select.form-control {
        background: #3a3a3a;
        border: 1px solid #555;
        color: #f0f0f0;
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 0.9rem;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
    }

    select.form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.3);
        background: #3a3a3a;
        color: #fff;
        outline: none;
    }

    .form-control {
        background: #3a3a3a;
        border: 1px solid #555;
        color: #f0f0f0;
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.3);
        background: #3a3a3a;
        color: #fff;
    }

    label {
        color: #ccc;
        font-size: 0.9rem;
    }
    label .required-asterisk {
        color: #ff4d4d; /* A bright red that looks good on dark backgrounds */
        font-weight: bold;
        margin-left: 2px;
    }

    a.login-link {
        color: #6aa6e7;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    a.login-link:hover {
        text-decoration: underline;
        color: #0066ff;
    }

    .password-toggle {
        position: absolute;
        right: 12px;
        top: 30%; /* Adjust this slightly to center it vertically with your Bootstrap labels */
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        color: #ffffff;
        padding: 0;
        z-index: 5; /* This keeps it visible */
    }
    input::-ms-reveal,
    input::-ms-clear {
        display: none;
    }
    input::-webkit-contacts-auto-fill-button,
    input::-webkit-credentials-auto-fill-button {
        visibility: hidden;
        position: absolute;
        right: 0;
    }
    .password-toggle:hover {
        color: #3958e0;
    }

    .vh-center {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

    .alert {
        border-radius: 10px;
        background-color: #444;
        color: #fff;
        border: none;
    }