/* assets/emanet-cikis.css */

/* Kart Tasarımı */
.cikis-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 30px;
    border-top: 5px solid #f97316; /* Turuncu Şerit - Çıkış olduğunu vurgular */
}

/* Başlıklar */
.section-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c2410c; /* Koyu Turuncu */
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #ffedd5;
    padding-bottom: 10px;
}

/* Cari Özet Kutusu */
#cari-summary-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0c4a6e;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none; /* Başlangıçta gizli */
    animation: fadeIn 0.4s ease;
}

#cari-summary-box h4 { 
    margin: 0 0 5px 0; font-size: 0.9rem; color: #0284c7; text-transform: uppercase; 
}
#cari-summary-content { font-size: 1rem; }

/* Grid Yapısı */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.full-width { grid-column: 1 / -1; }

/* Input Grupları */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative; /* JS ile bilgi kutusu eklemek için */
}

.form-group label {
    font-weight: 600;
    color: #475569;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    transition: 0.3s;
}

/* Özel Inputlar */
.input-standard {
    background-color: #fff;
}
.input-standard:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.input-orange {
    background-color: #fff7ed;
    color: #9a3412;
    border-color: #ffedd5;
    font-weight: 600;
}

.input-big-orange {
    background-color: #fff7ed;
    color: #c2410c;
    border-color: #fdba74;
    font-size: 1.5rem !important;
    font-weight: 800;
    text-align: right;
}
.input-big-orange:focus {
    background-color: #ffedd5;
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}

/* YENİ: Canlı Stok Bilgi Kutusu */
.stock-info-display {
    background: #e0f2fe; /* Açık mavi */
    color: #0369a1; /* Koyu mavi yazı */
    border: 1px solid #bae6fd;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    animation: fadeIn 0.3s ease-in-out;
}

.stock-info-display i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.stock-amount {
    font-size: 1.1rem;
    font-weight: 800;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Butonlar */
.btn-back {
    color: #64748b; text-decoration: none; font-weight: 600;
    padding: 8px 15px; border-radius: 6px; background: #f1f5f9;
    font-size: 0.9rem;
}
.btn-back:hover { background: #e2e8f0; color: #334155; }

.btn-save-out {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white; border: none;
    padding: 16px 40px; font-size: 1.1rem; font-weight: 700;
    border-radius: 10px; cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.3);
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-save-out:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(234, 88, 12, 0.4);
}

/* Bilgi Kutusu */
.alert-box-info {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 25px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PHP Mesajları */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}
.alert.success { background:#dcfce7; color:#166534; border: 1px solid #bbf7d0; }
.alert.error { background:#fee2e2; color:#991b1b; border: 1px solid #fecaca; }