/* assets/style.css - Black Theme - Responsive Tasarım ile Güncellenmiş Versiyon */

/* Genel ayarlar */
* {
    box-sizing: border-box;
}

body {
    background-color: #121212;
    color: #ffffff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Başlıklar */
h1, h2 {
    color: #ffffff;
    margin-bottom: 1.2em;
}

/* Form elemanları */
input, textarea, select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background-color: #2a2a2a;
    border: 1px solid #444444;
    color: #ffffff;
    border-radius: 6px;
    font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Butonlar */
button, .btn {
    padding: 12px 24px;
    background-color: #007bff;
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #0056b3;
}

/* Tablolar - Responsive */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 14px 12px;
    border-bottom: 1px solid #333333;
    text-align: left;
}

th {
    background-color: #2a2a2a;
    font-weight: 600;
    color: #ddd;
}

tr:hover {
    background-color: #252525;
}

/* Responsive tablo */
@media screen and (max-width: 768px) {
    table {
        border: 0;
    }
    
    table thead {
        display: none;
    }
    
    table tr {
        margin-bottom: 15px;
        display: block;
        border: 1px solid #444;
        border-radius: 8px;
        background: #222;
    }
    
    table td {
        display: block;
        text-align: right;
        font-size: 0.95rem;
        border-bottom: 1px solid #333;
        position: relative;
        padding-left: 50%;
    }
    
    table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
        color: #aaa;
    }
    
    table td:last-child {
        border-bottom: 0;
    }
}

/* Küçük ekranlar için container */
@media screen and (max-width: 576px) {
    .container {
        margin: 20px 10px;
        padding: 15px;
        border-radius: 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    button, .btn {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
}

/* Diğer yardımcı sınıflar */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }

/* Status badge (sipariş durumları için) */
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    display: inline-block;
}

/* Hesap detayları kutusu */
.account-details-box {
    background: #111;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 6px;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    color: #4caf50;
    font-size: 0.92em;
}