.register-wrapper .card-custom {
    max-width: 1080px;
}

.login-wrapper .card-custom {
    max-width: 520px;
}

.forgot-wrapper .card-custom {
    max-width: 580px;
}

.register-type-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.register-section-title {
    margin: 8px 0 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7d4a50;
    font-weight: 700;
}

.register-wrapper .row + .row {
    margin-top: 14px;
}

.register-wrapper textarea.form-control {
    min-height: 118px;
    height: auto;
    resize: vertical;
}

.register-file-input {
    width: 100%;
    border: 1px dashed #c9aeb2;
    border-radius: 12px;
    padding: 8px;
    background: #fff7f8;
}

.register-submit-row {
    padding-top: 12px;
}

.register-submit-btn {
    width: 240px;
}

.login-wrapper .btn-login {
    min-width: 130px;
}

.forgot-wrapper .btn-primary {
    width: 100%;
}

.login-wrapper .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
}

.login-wrapper .form-check-input {
    margin-top: 4px;
    cursor: pointer;
}

.login-wrapper .form-check-label {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.login-wrapper .form-check-label a,
.login-links a,
.back-link {
    color: #7d4a50;
    font-weight: 600;
    text-decoration: none;
}

.login-wrapper .form-check-label a:hover,
.login-links a:hover,
.back-link:hover {
    text-decoration: underline;
    color: #5b2f34;
}

.login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.login-links a {
    font-size: 13px;
}

.login-links span {
    margin: 0 6px;
    color: #999;
}

.forgot-wrapper .text-muted {
    font-size: 13px;
    text-align: center;
    margin-bottom: 20px;
    color: #6c757d;
}

.option-switch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    background: #f7eff0;
    border: 1px solid #ead8db;
    border-radius: 12px;
    padding: 10px 12px;
}

.option-switch label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #5b2f34;
}

.hidden {
    display: none;
}

#loaderOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .register-wrapper .form-col {
        margin-bottom: 4px;
    }

    .register-submit-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .login-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .login-wrapper .btn-login {
        width: 100%;
    }
}
