:root {
    --bg-main: #0c0c0e;
    --bg-card: #141419;
    --bg-input: #1a1a23;
    --primary-red: #ff2a3b;
    --hover-red: #d61b2b;
    --accent-blue: #007aff;
    --text-white: #f5f5f7;
    --text-gray: #98989d;
    --border-color: #22222a;
    --success-green: #34c759;
}

body { 
    background-color: var(--bg-main); 
    color: var(--text-white); 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    margin: 0; 
    padding: 0; 
}

.main-header { 
    background: var(--bg-card); 
    border-bottom: 2px solid var(--primary-red); 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.logo-area { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.4rem; letter-spacing: 0.5px; }
.site-logo { height: 38px; }
.user-info-bar { display: flex; align-items: center; gap: 15px; }
.user-avatar { width: 35px; height: 35px; border-radius: 50%; border: 2px solid var(--primary-red); }

.container { max-width: 1140px; margin: 40px auto; padding: 0 20px; }

/* Dashboard Düzeni */
.dashboard-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dashboard-section h3 { margin-top: 0; margin-bottom: 20px; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }

/* Kota Alanı */
.quota-bar { background: #22222c; height: 12px; border-radius: 6px; overflow: hidden; margin: 15px 0 8px 0; }
.quota-progress { background: linear-gradient(90deg, var(--primary-red), #ff6b76); height: 100%; transition: width 0.3s ease; }

/* Sürükle Bırak Alanı */
.dropzone-area {
    border: 2px dashed #3a3a4a;
    background: #181822;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.dropzone-area:hover, .dropzone-area.dragover {
    border-color: var(--primary-red);
    background: #1e1315;
}
.dropzone-area p { margin: 10px 0 0 0; color: var(--text-gray); }
.dropzone-area input[type="file"] { display: none; }

/* İlerleme Çubuğu (Upload Progress) */
.progress-container {
    display: none;
    margin-top: 20px;
    background: #181822;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.progress-bar-wrapper { background: #22222c; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.progress-bar-fill { background: var(--success-green); width: 0%; height: 100%; transition: width 0.1s linear; }

/* Dosya Grid Mimarisi */
.storage-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.storage-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border-color); 
    border-radius: 10px; 
    padding: 20px; 
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
}
.storage-card:hover { transform: translateY(-2px); border-color: #3a3a4a; }
.storage-card h4 { margin: 0 0 8px 0; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.storage-card p { margin: 0; color: var(--text-gray); font-size: 0.9rem; }

/* Butonlar */
.btn-danger { background: var(--primary-red); color: #fff; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; text-decoration: none; transition: 0.2s; text-align: center; }
.btn-danger:hover { background: var(--hover-red); }
.btn-secondary { background: #22222c; color: #fff; border: 1px solid var(--border-color); padding: 10px 20px; border-radius: 6px; cursor: pointer; text-decoration: none; font-weight: 500; transition: 0.2s; text-align: center; }
.btn-secondary:hover { background: #2d2d3a; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); display: flex; align-items: center; justify-content: center; z-index: 99999; }
.critical-modal { background: #1a0507; border: 2px solid var(--primary-red); border-radius: 12px; width: 400px; padding: 30px; text-align: center; box-shadow: 0 10px 40px rgba(255, 42, 61, 0.3); }