/* Yesilcam Saat CRM - Özel stiller */

:root {
    --brand-color: #16a085;
}

body {
    font-size: 14px;
}

.brand-link {
    background: linear-gradient(135deg, #16a085 0%, #2c3e50 100%) !important;
}

.content-header h1 {
    font-size: 1.4rem;
    font-weight: 600;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
}

.barcode-input {
    font-size: 1.1rem;
    padding: 0.5rem 0.75rem;
}

.product-card {
    transition: transform 0.15s ease-in-out, box-shadow 0.15s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.product-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    background: #f4f6f9;
}

.permission-group {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.permission-group h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #495057;
}

.stock-low {
    color: #dc3545;
    font-weight: 600;
}

.stock-warn {
    color: #fd7e14;
    font-weight: 600;
}

.stock-ok {
    color: #28a745;
}

.qr-reader-modal #qr-reader {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
}
.btn-whatsapp:hover {
    background: #128C7E;
    color: #fff;
}

.cart-summary {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
}

.totals-line {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

.totals-line.grand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-color);
    border-top: 2px solid #dee2e6;
    margin-top: 8px;
    padding-top: 8px;
}

/* Mobil iyileştirmeler */
@media (max-width: 768px) {
    body, .form-control, .input-group-text, .btn {
        font-size: 16px; /* iOS auto-zoom önleme */
    }
    .content-header h1 {
        font-size: 1.2rem;
    }
    .quick-action-card {
        font-size: 1rem;
        padding: 1.2rem 0.5rem;
        text-align: center;
    }
    .quick-action-card i {
        font-size: 2rem;
    }
}

.quick-action-card {
    display: block;
    padding: 1.5rem;
    text-align: center;
    border-radius: 8px;
    transition: all 0.15s;
    color: #fff !important;
    text-decoration: none !important;
    height: 100%;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.quick-action-card i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cargo-status-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

table.dataTable thead th {
    background: #f4f6f9;
    font-weight: 600;
}

.print-only { display: none; }
@media print {
    .no-print { display: none !important; }
    .print-only { display: block; }
}
