/* Genel Stiller */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* Menü */
.menu {
    background-color: #343a40;
    padding: 1rem;
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
}

.menu a:hover {
    background-color: #495057;
    border-radius: 4px;
}

/* İçerik */
.content {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Form */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

/* Form elemanlarının özelleştirilebilir boyutları */
.input-xs {
    width: 80px !important;
}

.input-sm {
    width: 120px !important;
}

.input-md {
    width: 200px !important;
}

.input-lg {
    width: 300px !important;
}

.input-xl {
    width: 400px !important;
}

.input-full {
    width: 100% !important;
}

/* Sayısal alanlar için özel stiller */
.input-number {
    text-align: right;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group input[readonly] {
    background-color: #e9ecef;
}

/* Tablo */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

th, td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Butonlar */
button, .button {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0.25rem;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

button.small, .button.small {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.button.delete {
    background-color: #dc3545;
}

.button.delete:hover {
    background-color: #c82333;
}

/* Hata Mesajı */
.error {
    color: #dc3545;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
}

/* Fatura Detayları */
.fatura-detay {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

/* Fatura Bilgileri */
.fatura-bilgileri {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.musteri-bilgileri, .fatura-ozet {
    background-color: white;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.musteri-bilgileri h2, .fatura-ozet h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #343a40;
}

.musteri-bilgileri p, .fatura-ozet p {
    margin: 0.5rem 0;
}

/* Yazdırma Stilleri */
@media print {
    .menu, .buttons {
        display: none;
    }

    .content {
        margin: 0;
        padding: 0;
    }

    body {
        background-color: white;
    }

    table {
        box-shadow: none;
    }

    .musteri-bilgileri, .fatura-ozet {
        box-shadow: none;
    }
} 