/* Multi-Step Signup Form Styles */

.swal2-popup {
    background: #1a1a1a;
    border-radius: 16px;
    border: 2px solid #0bd3d3;
}

.swal2-icon span span {
   color: #55ffd5;
   background-color: #55ffd5 !important;
}

.swal2-icon {
    border-color: #55ffd5  !important;
}

.swal2-icon-content {
    color: #55ffd5  !important;
}


.swal2-success-line-tip {
    background-color: #55ffd5  !important;
}

.swal2-success-line-long {
    background-color: #55ffd5  !important;
}

.swal2-success-ring {
    border-color: #55ffd5  !important;
}

.swal2-title {
   color: #55ffd5;
}

.swal2-html-container {
   color: #fff;
}

.swal2-confirm {
   background: #55ffd5;
}

.swal2-confirm:hover {
    background: #0bd3d3 !important;
    color: #fff !important;
}

.signup-page-wrapper {
    min-height: 100vh;
    background: #fff;
    padding: 40px 20px;
    background: url(https://gorillagamez.game/wp-content/themes/fantwist/library/images/back-1.jpg) center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.signup-container {
    max-width: 800px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(145deg, #131313, #1A1A1A);
    border: 1px solid #54EDCE;
    border-radius: 18px;
    /* padding: 40px; */
    max-width: 720px;
    margin: auto;
    box-shadow: 0 0 25px rgba(0, 255, 200, .08);
    transition: .3s;
}

.signup-header {
    text-align: center;
    padding: 40px 20px 20px;
    /* background: #55ffd5; */
    color: #fff;
}

.signup-header h1 {
    margin: 0 0 10px;
    color: #55ffd5;
    font-weight: 700;
    letter-spacing: .4px;
    font-size: 30px;
    font-family: "Unbounded", sans-serif;
    line-height: 35px;
}

.signup-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

/* Progress Bar */
.progress-bar-container {
    padding: 30px 40px;
    /* background: #f8f9fa; */
}

.progress-bar {
    height: 4px;
    background: #d3d3d3;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-bar-fill {
    height: 100%;
    background: #0bd3d3;
    border-radius: 2px;
    width: 25%;
    transition: width 0.3s ease;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step-indicators::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-indicator {
    text-align: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-indicator.active .step-number {
    background: #55ffd5;
    color: #fff;
    transform: scale(1.1);
}

.step-indicator.completed .step-number {
    background: #55ffd5;
    color: #fff;
}

.selfie-btn {
    background: #55ffd5 !important;
    border-color: #55ffd5 !important;
    color: white !important;
}

.step-indicator.completed .step-number::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.step-indicator.completed .step-number span {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    /* border: 2px solid #55ffd5; */
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-label {
    display: block;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

.step-indicator.active .step-label {
    color: #0bd3d3;
    font-weight: 600;
}

.custom-file-upload{
    width: max-content;
}

.selfie-btn, .step-buttons .next-step{
    background: #55ffd5 !important;
    background-color: #55ffd5 !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 52px !important;
    border-radius: 40px !important;
    transition: .25s !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    letter-spacing: -0.15px !important;
}

.btn.btn-secondary.prev-step{
    background: #010101 !important;
    color: #55ffd5 !important;
    border: 1px solid #55ffd5 !important;
    padding: 12px 26px !important;
    font-weight: 600 !important;
    border-radius: 40px !important;
    transition: .25s !important;
}


.btn.btn-secondary.prev-step:hover { 
    background: #55ffd5 !important;
    color: #010101  !important;
    border: 1px solid #010101  !important;
 }

/* Form Steps */
.multi-step-form {
    padding: 40px;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-content h2 {
    margin: 0 0 30px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

.intro-text{
    color: #6c757d;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Select2 Custom Styling */
.select2-container--default .select2-selection--single {
    height: 46px !important;
    padding: 6px 15px;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    background-color: #fff;
    transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    padding-left: 0;
    color: #495057;
    font-size: 15px;

}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
    right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #FF6B6B;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #FF6B6B !important;
}

.select2-dropdown {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: #FF6B6B !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #FF6B6B !important;
    color: #fff !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f8f9fa;
    color: #333;
}

.select2-results__option {
    padding: 10px 12px;
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 20px;
    font-size: 18px;
    color: #6c757d;
}

/* Error state for Select2 */
.form-group .select2-container--default.select2-container--error .select2-selection--single,
.form-group select.error + .select2-container--default .select2-selection--single {
    border-color: #dc3545;
}

/* Disabled state for Select2 */
.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    color: #999;
}

.form-control.error {
    border-color: #dc3545;
}

.error-message {
    display: none;
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
}

.form-control.error + .error-message {
    display: block;
}

/* Password Strength Meter */
.password-strength {
    margin-top: 10px;
}

.strength-meter {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-meter-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0;
}

.strength-meter-fill.weak {
    width: 33%;
    background: #dc3545;
}

.strength-meter-fill.medium {
    width: 66%;
    background: #ffc107;
}

.strength-meter-fill.strong {
    width: 100%;
    background: #28a745;
}

.strength-text {
    font-size: 12px;
    color: #6c757d;
}

/* Checkbox Groups */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label a {
    color: #DC143C;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Review Section */
.review-section {
    background: transparent;
    border: 1px solid #272727;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.review-section h4{
    color: #55ffd5;
}

.review-section h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    color: #a3a3a3;
    font-size: 14px;
}

.review-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
}

/* Buttons */
.step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #8B0000 100%);
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #FF8585 0%, #A50000 100%);
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #55ffd5;
    color: #fff;
}

.btn-success:hover {
    background: #55ffd5;
}

/* Success Content */
.success-content {
    text-align: center;
    padding: 40px;
}

.success-icon {
    margin-bottom: 30px;
}

.success-icon svg {
    color: #28a745;
}

.success-content h2 {
    margin: 0 0 20px;
    color: #333;
    font-size: 28px;
}

.success-content p {
    color: #6c757d;
    margin: 0 0 10px;
    font-size: 16px;
}

.success-content .btn {
    margin-top: 20px;
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px; /* space for eye icon */
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    font-size: 1.1rem;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .signup-container {
        max-width: 100%;
        border-radius: 0;
    }
    
    .signup-page-wrapper {
        padding: 0;
    }
    
    .multi-step-form {
        padding: 20px;
    }
    
    .progress-bar-container {
        padding: 20px;
    }
    
    .step-indicators {
        justify-content: space-around;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .step-buttons {
        flex-direction: column-reverse;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .signup-header h1 {
        font-size: 24px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}
