@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

body {
    font-family: 'Source Sans Pro', sans-serif;
}

.registration-container {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/img/formbg.jpg');
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
}


.registration-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 1200px;
}

.registration-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}


.registration-header {
    background: linear-gradient(45deg, #000 0%, #222 100%);
    padding: 1rem;
    border-radius: 20px 20px 0 0;
    color: #FEDB00;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.registration-header h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    background: linear-gradient(45deg, #FEDB00 0%, #FFE44D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-container {
    text-align: center;
    margin-bottom: 1.2rem;
}

.logo-container img {
    height: 100px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.form-section {
    padding: 3rem 3.5rem;
    background: linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
    border-radius: 0 0 20px 20px;
}

.form-control {
    border: 1.5px solid #e0e0e0;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    height: 54px;
    font-size: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control:hover {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.form-control:focus {
    border-color: #FEDB00;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(254, 219, 0, 0.15);
    transform: translateY(-1px);
}


textarea.form-control {
    /* min-height: 130px !important; */
    line-height: 1.6;
    resize: vertical;
}


.btn-register {
    background: #FEDB00 !important;
    color: #000 !important;
    padding: 1rem 4rem !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 15px rgba(254, 219, 0, 0.3);
    font-family: 'Source Sans Pro', sans-serif !important;
}

.btn-register:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.5s;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 219, 0, 0.4);
    background: #FEDB00;
    color: #000;
}

.btn-register:hover:before {
    left: 100%;
}

.btn-register:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(254, 219, 0, 0.3);
}


.select2-container {
    width: 100% !important;
}

.text-center.mt-4 {
    margin-top: 3rem !important;
    padding-bottom: 1rem;
}

.form-section {
    padding: 3rem 3.5rem 2.5rem;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.registration-header h3 {
    background-size: 200% auto;
    animation: gradientFlow 3s ease infinite;
}

.select2-container .select2-selection--multiple,
.select2-selection--single {
    border-radius: 12px !important;
    min-height: 54px !important;
    background-color: #f8f9fa !important;
    border: 1.5px solid #e0e0e0 !important;
    transition: all 0.3s ease;
    padding: 0.375rem 0.75rem !important;
}

.select2-container .select2-selection--multiple:hover,
.select2-selection--single:hover {
    background-color: #fff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #FEDB00 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(254, 219, 0, 0.15) !important;
    transform: translateY(-1px);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(45deg, #FEDB00 0%, #FFE44D 100%) !important;
    border: none !important;
    color: #000 !important;
    border-radius: 8px !important;
    padding: 0.4rem 0.8rem !important;
    margin: 0.25rem !important;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.row>[class*='col-'] {
    padding-right: 1rem;
    padding-left: 1rem;
}

.form-group {
    margin-bottom: 1.8rem !important;
    transition: all 0.3s ease;
}

.is-invalid {
    border-color: #dc3545;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.invalid-feedback {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

@media (max-width: 768px) {
    .registration-container {
        padding: 1rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .registration-card {
        margin: 0 1rem;
    }

    .row>[class*='col-'] {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
}

.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.select2-dropdown {
    z-index: 9999;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
.select2-selection--single {
    border-right: 0px !important;
}


.login-container {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/img/formbg.jpg');
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 500px;
}

.login-card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.login-header {
    background: linear-gradient(45deg, #000 0%, #222 100%);
    padding: 1rem;
    border-radius: 20px 20px 0 0;
    color: #FEDB00;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 700;
    margin: 0 0 15px 0;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #FEDB00 0%, #FFE44D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me label {
    color: #666;
    font-size: 0.9rem;
}

.forgot-password {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #FEDB00;
}

.signup-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.signup-link span {
    color: #666;
}

.signup-link a {
    color: #FEDB00;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #d4b800;
}

#lgn-head {
    font-size: 1.7rem;
}

.login-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.login-link span {
    color: #666;
}

.login-link a {
    color: #FEDB00;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.login-link a:hover {
    color: #d4b800;
}

.alerts-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

.alert {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

.alert-dismissible .btn-close {
    padding: 1.25rem;
}

.alert i {
    margin-right: 8px;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #cce5ff;
    border-color: #b8daff;
    color: #004085;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.alert.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}
.user-agreement-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 800px;
}

.user-agreement-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.agreement-wrapper {
    background: #fff;
    border-radius: 15px;
    margin: 2rem;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-agreement-content {
    padding: 0;  
    background: linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
    border-radius: 0 0 20px 20px;
}

.agreement-sections {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
    margin-bottom: 2rem;
    background: #fff;
}

.agreement-sections::-webkit-scrollbar {
    width: 8px;
}

.agreement-sections::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.agreement-sections::-webkit-scrollbar-thumb {
    background: #FEDB00;
    border-radius: 4px;
}

.agreement-sections::-webkit-scrollbar-thumb:hover {
    background: #d4b800;
}

.agreement-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.agreement-section:last-child {
    border-bottom: none;
}

.agreement-section h2 {
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
}

.agreement-section p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Source Sans Pro', sans-serif;
}

/* Updated checkbox style for registration form */
.user-agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1.5px solid #e0e0e0;
    transition: all 0.3s ease;
}

.user-agreement-checkbox:hover {
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.user-agreement-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: #FEDB00;
}

.user-agreement-checkbox label {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.user-agreement-checkbox label a {
    color: #FEDB00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.user-agreement-checkbox label a:hover {
    color: #d4b800;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .user-agreement-card {
        margin: 0 1rem;
    }
    
    .user-agreement-content {
        padding: 1.5rem;
    }
    
    .agreement-sections {
        max-height: 50vh;
    }
}