* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    max-height: 800px;
    background: #16213e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    display: flex;
}

.left-panel {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    color: white;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="150" fill="url(%23a)"/><circle cx="800" cy="300" r="100" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    background-size: cover;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.right-panel {
    flex: 1;
    background: #0f1419;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.form-container {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.form-header {
    margin-bottom: 30px;
    flex-shrink: 0;
}

.form-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #8892b0;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #ccd6f6;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #233554;
    border-radius: 8px;
    font-size: 14px;
    background: #112240;
    color: #ccd6f6;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.1);
}

select {
    cursor: pointer;
}

select option {
    background: #112240;
    color: #ccd6f6;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.captcha-container {
    background: #112240;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #233554;
}

.captcha-question {
    font-weight: 500;
    margin-bottom: 8px;
    color: #64ffda;
    font-size: 0.9rem;
}

.captcha-input {
    width: 40% !important;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        height: auto;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        flex-direction: column;
        border-radius: 0;
        height: 100vh;
        max-height: none;
    }

    .left-panel {
        flex: 0 0 40%;
        padding: 30px 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .language-switcher {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .left-panel {
        padding: 20px 15px;
    }

    .form-container {
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .form-title {
        font-size: 1.3rem;
    }
}

/* Custom scrollbar for webkit browsers */
.form-container::-webkit-scrollbar {
    width: 6px;
}

.form-container::-webkit-scrollbar-track {
    background: #112240;
}

.form-container::-webkit-scrollbar-thumb {
    background: #233554;
    border-radius: 3px;
}

.form-container::-webkit-scrollbar-thumb:hover {
    background: #64ffda;
}

/* reCAPTCHA */
.info {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
}

.info p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.info-subtle {
    margin-top: 10px;
    text-align: center;
}

.info-subtle p {
    margin: 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.info-with-icon {
    margin-top: 15px;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    border-left: 3px solid #4CAF50;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-with-icon::before {
    content: "🛡️";
    font-size: 14px;
}

.info-with-icon p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

.info a {
    color: #64B5F6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info a:hover {
    color: #90CAF9;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .info p,
    .info-subtle p,
    .info-with-icon p {
        font-size: 10px;
    }
}