* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color, #0f1419);
    background-image: linear-gradient(135deg, var(--bg-color, #0f1419) 0%, var(--bg-light, #1a2332) 50%, var(--bg-color, #0f1419) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: var(--bg-light, #1a2332);
    border: 2px solid color-mix(in srgb, var(--primary-color, #00d084) 40%, transparent);
    border-color: color-mix(in srgb, var(--primary-color, #00d084) 40%, transparent);
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5), 
        0 0 50px color-mix(in srgb, var(--primary-color, #00d084) 25%, transparent),
        0 0 80px color-mix(in srgb, var(--primary-color, #00d084) 15%, transparent),
        inset 0 0 30px color-mix(in srgb, var(--primary-color, #00d084) 5%, transparent);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.5s ease-out;
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, 
        color-mix(in srgb, var(--primary-color, #00d084) 30%, transparent),
        color-mix(in srgb, var(--primary-color, #00d084) 10%, transparent),
        color-mix(in srgb, var(--primary-color, #00d084) 30%, transparent));
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    animation: glowFadeIn 0.8s ease-out 0.3s forwards, glow 3s ease-in-out 1.1s infinite alternate;
}

@keyframes glowFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.6;
    }
}

@keyframes glow {
    from {
        opacity: 0.5;
        filter: blur(15px);
    }
    to {
        opacity: 0.8;
        filter: blur(20px);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container img {
    max-width: 200px;
    height: auto;
}

h1 {
    color: var(--text-color, #ffffff);
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 2px 10px color-mix(in srgb, var(--primary-color, #00d084) 30%, transparent);
}

.subtitle {
    text-align: center;
    color: var(--text-secondary, #b0b8c4);
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color, #ffffff);
    font-weight: 500;
    font-size: 14px;
}

.required {
    color: var(--primary-color, #00d084);
}

select,
input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid color-mix(in srgb, var(--primary-color, #00d084) 30%, transparent);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg-color, #0f1419);
    color: var(--text-color, #ffffff);
}

input::placeholder {
    color: #6b7280;
    opacity: 0.7;
}

select:focus,
input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color, #00d084);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color, #00d084) 20%, transparent);
    background: var(--bg-color, #0f1419);
}

select option {
    background: var(--bg-light, #1a2332);
    color: var(--text-color, #ffffff);
    padding: 10px;
}

select option:hover,
select option:focus,
select option:checked {
    background: color-mix(in srgb, var(--primary-color, #00d084) 20%, var(--bg-light, #1a2332));
    color: var(--text-color, #ffffff);
}

select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    background-size: 12px 12px;
}

/* Dinamik renk için SVG - JavaScript ile güncellenecek */
select::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--primary-color, #00d084);
    pointer-events: none;
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color, #00d084) 0%, var(--primary-dark, #00b371) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--primary-color, #00d084) 40%, transparent);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary-color, #00d084) 60%, transparent);
    background: linear-gradient(135deg, var(--primary-light, #00e694) 0%, var(--primary-color, #00d084) 100%);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.loading.show {
    display: block;
}

.spinner {
    border: 3px solid color-mix(in srgb, var(--primary-color, #00d084) 20%, transparent);
    border-top: 3px solid var(--primary-color, #00d084);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Checking page styles */
.checking-container {
    text-align: center;
    padding: 60px 40px;
}

.check-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.check-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.checking-icon {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 100%);
    animation: pulse 2s infinite;
}

.approved-icon {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    animation: approvedPulse 2s infinite;
}

.rejected-icon {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    animation: rejectedPulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary-color, #00d084) 70%, transparent);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px color-mix(in srgb, var(--primary-color, #00d084) 0%, transparent);
    }
}

@keyframes approvedPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(17, 153, 142, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(17, 153, 142, 0);
    }
}

@keyframes rejectedPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(235, 51, 73, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(235, 51, 73, 0);
    }
}

.checking-container h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 15px;
}

.checking-container p {
    color: #b0b8c4;
    font-size: 16px;
    line-height: 1.6;
}

.status-state {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.approved-text {
    color: #00d084;
}

.approved-message {
    color: #b0b8c4;
}

.rejected-text {
    color: #ff6b6b;
}

.rejected-message {
    color: #b0b8c4;
}

.status-info {
    margin-top: 20px;
    padding: 15px;
    background: color-mix(in srgb, var(--primary-color, #00d084) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary-color, #00d084) 20%, transparent);
    border-radius: 10px;
    font-size: 14px;
    color: #b0b8c4;
}

/* Spam koruması uyarı mesajı */
.spam-warning {
    margin-top: 20px;
    padding: 20px;
    background: color-mix(in srgb, #ff6b6b 15%, var(--bg-light, #1a2332));
    border: 2px solid color-mix(in srgb, #ff6b6b 50%, transparent);
    border-radius: 12px;
    animation: slideDown 0.3s ease-out;
}

.warning-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.warning-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.warning-text {
    flex: 1;
}

.warning-text strong {
    color: #ff6b6b;
    font-size: 16px;
    display: block;
    margin-bottom: 8px;
}

.warning-text #countdown {
    color: var(--primary-color, #00d084);
    font-weight: bold;
}

.warning-text p {
    color: var(--text-secondary, #b0b8c4);
    font-size: 14px;
    margin: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 25px;
    }
    
    h1 {
        font-size: 24px;
    }
}

