:root {
    /* Ana renkler */
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #333333;
    
    /* Metin renkleri */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    
    /* Vurgu renkleri */
    --accent-primary: #ff7b00;
    --accent-hover: #ff9900;
    --accent-active: #ff5500;
    
    /* Durum renkleri */
    --success: #2d8660;
    --error: #a83232;
    
    /* Input alanları */
    --input-bg: #404040;
    --input-border: #505050;
    --input-focus: #ff7b00;
}

/* Genel stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Başlıklar */
h1 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 600;
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 3px;
}

/* Form elemanları */
.form-group {
    margin-bottom: 20px;
}

select, textarea, input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 1em;
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    transition: all 0.3s ease;
}

select:focus, textarea:focus, input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.2);
}

/* Butonlar */
.button {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    background: var(--accent-primary);
    color: var(--text-primary);
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

.button:active {
    background: var(--accent-active);
    transform: translateY(0);
}

/* Tab container stilleri */
.tab-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--input-border);
    padding-bottom: 10px;
}

.tab-button {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1em;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button i {
    font-size: 1.2em;
}

.tab-button.active {
    color: var(--accent-primary);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 3px 3px 0 0;
}

/* Veri tipi seçici */
.type-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.type-selector label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 2px solid transparent;
}

.type-selector label:hover {
    background: var(--bg-tertiary);
}

.type-selector label.active {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 123, 0, 0.2);
}

.type-selector label i {
    font-size: 24px;
    margin-bottom: 8px;
}

.type-selector label span {
    font-size: 14px;
    font-weight: 500;
}

.type-selector input[type="radio"] {
    display: none;
}

/* Input bölümleri için animasyon */
.input-section {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: none;
}

.input-section.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

/* Aktif olmayan sekmeler için stil */
.type-selector label:not(.active) {
    opacity: 0.7;
}

/* Hover efekti */
.type-selector label:not(.active):hover {
    opacity: 0.9;
    border-color: var(--accent-primary);
}

/* Dosya yükleme alanı */
.file-upload-container {
    position: relative;
    border: 2px dashed var(--input-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-container:hover {
    border-color: var(--accent-primary);
}

.file-upload-container input[type="file"] {
    display: none;
}

.file-upload-container label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.file-upload-container i {
    font-size: 2.5em;
    color: var(--accent-primary);
}

/* Seçilen dosyalar listesi */
.selected-files {
    margin-top: 15px;
}

.selected-file {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-tertiary);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.selected-file i {
    color: var(--accent-primary);
}

/* Doğrulama kodu input alanı */
.code-input {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.code-input input {
    width: 70px;
    height: 80px;
    font-size: 2.5em;
    text-align: center;
    border: 3px solid var(--input-border);
    border-radius: 15px;
    background: var(--input-bg);
    transition: all 0.3s ease;
    appearance: textfield;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
}

/* Sayı spinnerlarını gizle */
.code-input input::-webkit-outer-spin-button,
.code-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.code-input input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.2);
    transform: translateY(-2px);
    outline: none;
}

/* İçerik görüntüleme alanı */
#contentDisplay {
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    min-height: 100px;
}

/* Bildirimler */
.notifications {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
}

.notification {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s ease-out;
    text-align: center;
    flex-direction: column;
}

.notification.success {
    border: 2px solid var(--success);
}

.notification.error {
    border: 2px solid var(--error);
}

.notification i {
    font-size: 2em;
}

.notification .code-display {
    font-size: 2em;
    font-weight: bold;
    color: var(--accent-primary);
    margin: 15px 0;
    letter-spacing: 5px;
}

.notification .close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.notification .close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .type-selector {
        flex-direction: column;
        gap: 10px;
    }
    
    .code-input {
        gap: 10px;
    }
    
    .code-input input {
        width: 50px;
        height: 60px;
        font-size: 1.5em;
    }
}

/* Loader stillerini güncelleyelim */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loader-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top: 4px solid var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

.loader-content p {
    color: var(--text-primary);
    font-size: 1.1em;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}