/* Registration Form Styles */
.auth-page {
    height: 100vh !important;
    margin: 0;
    overflow: hidden;
}

.auth-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Side - Registration Form */
.auth-left {
    flex: 1;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

/* Decorative Elements */
.auth-left::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.auth-left::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.register-form-container {
    width: 100%;
    z-index: 10;
    position: relative;
}

/* Success Messages */
.alert-custom-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.alert-custom-success .close {
    color: #28a745;
}

/* Registration Card */
.register-card {
    /* background: rgba(255, 255, 255, 0.95); */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    height: 100%;
    /* border-radius: 20px; */
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo */
.register-logo {
    max-height: 80px;
    width: auto;
}

/* Title */
.register-title {
    color: #333;
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
}

.register-subtitle {
    color: #666;
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-label {
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.input-wrapper {
    position: relative;
}

.form-input {
    height: 40px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 0 1rem 0 2.3rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    width: 100%;
}

.form-input:focus {
    border-color: #00989e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-input.valid {
    border-color: #28a745;
    background: #f8fff9;
}

.form-input.invalid {
    border-color: #dc3545;
    background: #fff8f8;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
}

.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
}

.validation-icon.valid {
    color: #28a745;
}

.validation-icon.invalid {
    color: #dc3545;
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* Country Select */
.country-select {
    height: 50px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 0 1rem 0 3rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    width: 100%;
}

.country-select:focus {
    border-color: #00989e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* Captcha Box */
.captcha-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.captcha-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.captcha-input {
    height: 40px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
    max-width: 150px;
}

.captcha-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
    outline: none;
}

.captcha-error {
    color: #dc3545;
    font-size: 0.8rem;
    display: block;
    margin-top: 0.5rem;
}

/* Register Button */
.register-button {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #7ff7fc 0%, #00989e 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.register-button:active {
    transform: translateY(0);
}

.register-button:focus {
    border: none !important;
    color: #fff !important;
    outline: none;
}

.register-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Links */
.form-links {
    text-align: center;
}

.form-link-text {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.form-link {
    color: #00989e;
    text-decoration: none;
    font-weight: 600;
}

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

/* Copyright */
.copyright-section {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e1e5e9;
}

.copyright-text {
    color: #999;
    font-size: 0.75rem;
}

/* Right Side - Background Image */
.auth-right {
    flex: 1;
    background-image: url('{{ asset("temp/img/invest-in-future.jpg")}}');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Overlay */
.auth-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #7ff8fc68, #00999e81);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

/* Content Overlay */
.auth-content {
    position: relative;
    z-index: 10;
    color: white;
    text-align: center;
    padding: 2rem;
    max-width: 500px;
}

.auth-content-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.auth-content-text {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hidden honeypot field */
.honeypot {
    display: none !important;
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column !important;
    }

    .auth-left {
        flex: none !important;
        height: 100vh !important;
        padding: 1rem !important;
    }

    .auth-right {
        display: none !important;
    }

    .register-card {
        padding: 2rem !important;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .register-card {
        padding: 1.5rem !important;
    }

    .auth-left {
        padding: 0.5rem !important;
    }

    .auth-content-title {
        font-size: 2rem;
    }

    .auth-content-text {
        font-size: 1rem;
    }
}