:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
}

body {
    background: linear-gradient(135deg, #f8f9fc 0%, #e9ecef 100%);
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
}

h3,
h4 {
    font-size: 1.2rem;
}

p,
span {
    font-size: 0.775rem;

}

.col-md-6 {
    margin-top: 5px !important;
}

.col-12 {
    margin-top: 5px !important;
}
.text-primary {
    font-size: 0.775rem;}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    cursor: default;
    padding-left: 12px !important;
    padding-right: 0px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #bd0909 !important;
    margin-right: 3px;
    background: #eceff2 !important;
}

/* Containers */
.registration-container,
.auth-container,
.approval-container {
    margin: 2rem auto;
    animation: fadeInDown 0.8s;
}

.registration-container {
    max-width: 1000px;
}

.auth-container {
    max-width: 450px;
}

.approval-container {
    max-width: 650px;
}

/* Cards */
.registration-card,
.auth-card,
.approval-card,
.feature-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.registration-card:hover,
.auth-card:hover,
.approval-card:hover,
.feature-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #224abe 100%);
    color: white;
    padding: 0.5rem;
    text-align: center;
    border-bottom: none;
}

.card-body {
    padding: 2.5rem;

}

/* Forms */
.form-select {
    font-size: 0.775rem;

}

.form-control {
    padding-left: 40px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.775rem;
    border: 1px solid #d1d3e2;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

.form-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.775rem;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

/* Buttons */
.btn-primary,
.btn-outline-primary {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
        padding: 10px 22px;

}
label {
    font-size: 0.775rem;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: white;
}

.btn-primary:hover {
    background-color: #2e59d9;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: white;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #b7b9cc;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Progress Bar */
.progress-container {
    margin: 1rem 0;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

.progress-bar {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.6s ease;
}

/* Feature Section */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.feature-text {
    color: #858796;
}

/* Approval Status */
.approval-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #dee6ff;
    border-radius: 10px;
}

.next-steps li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}


/* Document Upload */
.document-upload {
    border: 2px dashed #d1d3e2;
    border-radius: 10px;
    padding: 0.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background-color: #f8f9fc;
    transition: all 0.3s;
}

.document-upload:hover {
    border-color: var(--primary-color);
    background-color: rgba(78, 115, 223, 0.05);
}

.document-upload-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.document-upload-text {
    color: #5a5c69;
    margin-bottom: 1rem;
}

.document-upload-btn {
    background-color: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.document-upload-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.uploaded-files {
    margin-top: 1.5rem;
}

.uploaded-file {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.uploaded-file-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.uploaded-file-name {
    flex-grow: 1;
    font-weight: 500;
}

.uploaded-file-size {
    color: #858796;
    margin-right: 1rem;
    font-size: 0.85rem;
}

.uploaded-file-remove {
    color: #e74a3b;
    cursor: pointer;
}

/* Dropzone Custom */
.dropzone {
    border: 2px dashed #d1d3e2 !important;
    background: #f8f9fc !important;
    border-radius: 10px !important;
    min-height: 81px !important;
    padding: 0px !important;
}

.dropzone .dz-message {
    font-size: 1.2rem !important;
    color: #5a5c69 !important;
}

.dropzone .dz-preview .dz-error-message {
    background: #e74a3b !important;
}

.dropzone .dz-preview .dz-error-message:after {
    border-bottom-color: #e74a3b !important;
}

/* Typography & Branding */
.logo {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.logo span {
    color: var(--secondary-color);
}

.footer {
    text-align: center;
    margin-top: 2rem;
    color: #858796;
    font-size: 0.9rem;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Divider and Social Buttons */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e3e6f0;
}

.divider-text {
    padding: 0 1rem;
    color: #b7b9cc;
    font-weight: 600;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.social-btn.google {
    background-color: #fff;
    color: #3c4043;
    border: 1px solid #d1d3e2;
}

.social-btn.microsoft {
    background-color: #fff;
    color: #5e5e5e;
    border: 1px solid #d1d3e2;
}

.social-btn.google:hover,
.social-btn.microsoft:hover {
    background-color: #f8f9fc;
    transform: translateY(-2px);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }

    .registration-container,
    .approval-container {
        margin: 1rem auto;
        padding: 0 15px;
    }
}

/* Custom Select2 styling */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--multiple {
    min-height: 50px;
    border: 1px solid #d1d3e2;
    border-radius: 8px;
    padding-left: 40px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 5px 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #4e73df;
    border-color: #4e73df;
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.775rem;
    padding: 0px 8px;
    border-radius: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
    margin-right: 3px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 0;
    height: auto;
    padding-left: 5px;
}

/* Icon positioning */
.select2-with-icon {
    position: relative;
}

.select2-with-icon .form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #4e73df;
}

/* Focus state */
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #4e73df;
    box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

/* Dropdown styling */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #4e73df;
    color: white;
}

.select2-dropdown {
    border: 1px solid #d1d3e2;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}



.feature-card {
    padding: 28px;
}