:root {
    --primary-color: #001736;
    --secondary-color: #0a2b5e;
    --accent-color: #3b82f6;
    --accent-hover: #60a5fa;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --error-color: #f87171;
    --success-color: #34d399;
    --input-bg: #1e293b;
    --input-border: #334155;
    --input-focus: #3b82f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(0, 23, 54, 0.15) 0%, transparent 40%);
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.25rem 0;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #60a5fa);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.logo img {
    height: 50px;
}

.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.form-container {
    background-color: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 320px;
    max-width: 520px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-container {
    background-color: var(--bg-card);
    border-radius: 16px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    flex: 0 1 520px; /* Info container width */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.form-container::before, .info-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #60a5fa);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Decorative glowing elements */
.glow-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.glow-1 {
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: rgba(59, 130, 246, 0.15);
}

.glow-2 {
    bottom: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: rgba(0, 23, 54, 0.2);
}

h1, h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

h1::after, h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #60a5fa);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.input-container {
    position: relative;
}

input {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: var(--input-bg);
    color: var(--text-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: all 0.3s;
}

input:focus + .input-icon {
    color: var(--accent-color);
}

button {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

button:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.5), 0 0 20px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
}

button:hover::after {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

.required::after {
    content: " *";
    color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.8rem;
    margin-top: 0.375rem;
    display: none;
    padding-left: 0.25rem;
}

.success-message {
    background-color: rgba(52, 211, 153, 0.1);
    border-left: 4px solid var(--success-color);
    color: #10b981;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
    font-weight: 500;
    animation: fadeIn 0.5s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

footer {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Form validation styling */
input.valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

input.invalid {
    border-color: var(--error-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

/* Animated label effect */
.form-group.focused label {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Glass card effect */
.glass-card {
    position: relative;
    backdrop-filter: blur(16px);
    background: rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
    .form-container, .info-container {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }
}

/* Loading spinner */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease infinite;
    margin-right: 8px;
}

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

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating input effect */

.input-group {
    position: relative;
    margin-top: 20px;
}

.floating-label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: var(--text-muted);
    transition: all 0.25s ease;
    pointer-events: none;
    font-size: 0.95rem;
}

.floating-input {
    padding: 1rem 0.75rem;
    border: 2px solid transparent;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 12px;
    border-bottom: 2px solid var(--input-border);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.25s ease;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.floating-input:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid var(--accent-color);
}

.floating-input:focus + .floating-label,
.floating-input:not(:placeholder-shown) + .floating-label {
    top: -18px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Animated background */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: linear-gradient(-45deg, rgba(0, 23, 54, 0.8), rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    background-size: 400% 400%;
    animation: gradientBackground 15s ease infinite;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Info container styling */
.info-section {
    margin-bottom: 1.5rem;
}

.info-title {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.info-title i {
    margin-right: 0.5rem;
}

.info-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.info-container li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.info-container strong {
    color: var(--text-primary);
}

.date-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-icon {
    color: var(--success-color);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.spacer {
    flex-grow: 1;
}

/* Tag Container */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0;
    justify-content: center;
}

.tag {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-color);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.tag i {
    margin-right: 0.4rem;
    font-size: 0.75rem;
}



.checkbox-group {
    margin: 1.5rem 0;
    position: relative;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent-color);
}

.terms-text {
    line-height: 1.5;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    display: inline;
}

.checkbox-label a:hover {
    text-decoration: underline;
    color: var(--accent-hover);
}

/* Select dropdown stili */
select.floating-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 40px;
}

/* Dropdown seçenekleri stili */
select.floating-input option {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 12px;
}

/* Seçim yapıldığında ok simgesi */
select.floating-input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Doğrulama stillerini düzelt - Geçerli */
select.floating-input.valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

/* Doğrulama stillerini düzelt - Geçersiz */
select.floating-input.invalid {
    border-color: var(--error-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

/* ÖNEMLİ: Floating label sadece değer seçildiğinde gösterilsin */
.floating-input + .floating-label {
    display: block; /* Diğer inputlar için normal görünüm */
}

/* Select için özel kural - varsayılan durumda label gizli */
select.floating-input + .floating-label {
    display: none;
}

/* Sadece bir değer seçildiğinde label'ı göster */
select.floating-input:not([value=""]):not(:focus) + .floating-label,
select.floating-input:focus:not([value=""]) + .floating-label {
    display: block;
    top: -18px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 500;
}

/* Seçim yapıldığında etiket stilini değiştir */
select.floating-input.valid + .floating-label {
    color: var(--success-color);
}

/* Geçersiz seçim yapıldığında etiket stilini değiştir */
select.floating-input.invalid + .floating-label {
    color: var(--error-color);
    display: block; /* Hata durumunda mutlaka göster */
}