body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(rgba(205, 222, 0, 0.5), rgba(255, 255, 255, 1)), url('https://images.unsplash.com/photo-1590226375013-f6607f4337ae?q=80&w=1932&auto=format&fit=crop') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /*    background-color: #CDDE00;  rgb(205 222 0/var(--tw-bg-opacity))*/
}

.top-bar {
    background-color: #e9ecef;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.top-bar-logo {
    height: 40px;
    flex-shrink: 0; 
}

.top-bar-title {
    color: #212529;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 1rem 2rem 1rem;
}

.page-title {
    margin-top: -2rem;
    color: #212529;
    text-align: center;
    margin-bottom: 0.6rem;
}

.register-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    padding: 3rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}
.form-floating > label {
    padding: 1rem 0.75rem;
}
.form-control {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.form-control:focus {
    background-color: #ffffff;
    border: 1px solid #6c63ff;
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.1);
}

.btn-submit {
    background-color: #253746;
    border: none;
    border-radius: 12px;
    padding: 0.8rem;
    font-weight: 600;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
    .btn-submit:hover {
        background-color: #CDDE2E;
        transform: translateY(-2px);
        box-shadow: 0 7px 20px rgba(0,0,0,0.2);
        color: black;
    }
.btn-submit.loading .btn-text {
    display: none;
}
.btn-submit.loading .spinner-border {
    display: inline-block;
}
.spinner-border {
    display: none;
    width: 1.2rem;
    height: 1.2rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
}

.validation-message-field {
    font-size: 0.85rem;
}

.top-bar .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top-bar-logo {
    position: static;
    margin: 0 0 6px 0;
}

@media (max-width: 576px) {
    .top-bar-title {
        font-size: 1.1rem;
        padding-left: 0;
    }
    .top-bar-logo {
        height: 32px;
    }
}

/* SweetAlert2 confirm (OK) button color overrides */
.swal2-confirm {
    background-color: #243746 !important;
    border: 1px solid #243746 !important;
    color: #fff !important;
}
.swal2-confirm:hover,
.swal2-confirm:focus {
    background-color: #1e2f3d !important;
    border-color: #1e2f3d !important;
    color: #fff !important;
}

/* Required asterisk for specific labels */
label[for="FirstName"]::after,
label[for="LastName"]::after,
label[for="Gsm"]::after {
    content: " *";
    color: #dc3545; /* Bootstrap danger red */
} 