﻿/* ===== Tastika Admin Branding Styles ===== */

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* Page Header */
.page-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FF8C00;
    border-bottom: 2px solid #0079C1;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

/* Labels and Inputs */
.form-label {
    font-weight: 600;
    color: #333;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
    background-color: #ffffff;
    font-size: 0.95rem;
    padding: 0.55rem 0.75rem;
    transition: all 0.2s ease-in-out;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #0079C1;
        box-shadow: 0 0 0 0.15rem rgba(0, 121, 193, 0.2);
        outline: none;
        background-color: #fff;
    }

/* Checkboxes */
.form-check-input {
    cursor: pointer;
}

.form-check-label {
    font-weight: 500;
    margin-left: 4px;
}

/* Buttons */
.btn-primary {
    background-color: #0079C1;
    border-color: #0079C1;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: #005f94;
        border-color: #005f94;
    }

.btn-secondary {
    background-color: #e6e6e6;
    color: #333;
    font-weight: 500;
}

    .btn-secondary:hover {
        background-color: #ccc;
    }

/* Checkbox Group Row */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Button row bottom spacing */
.btn-group-bottom {
    margin-top: 1.25rem;
}

/* Sidebar overrides (if needed) */
.sidebar .nav-link.active {
    background-color: #005f94;
    font-weight: bold;
}

/* Profile image */
.profile-img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.form-check-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.form-check-label-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
}

.checked-icon,
.unchecked-icon {
    font-size: 1.1rem;
    color: #0079C1;
}
.form-switch .form-check-input {
    width: 2.5em;
    height: 1.4em;
    background-color: #dee2e6;
    border-color: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .form-switch .form-check-input:checked {
        background-color: #0079C1;
        border-color: #0079C1;
    }
.payment-method label {
    font-weight: 600;
    color: #0079C1; /* Tastika Blue */
}

.touch-friendly {
    font-size: 1.25rem;
    padding: 12px;
}

input[readonly] {
    background-color: #f5f5f5;
    color: #777;
}
.cart-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

    .cart-table th {
        background-color: #0079C1;
        color: #fff;
        padding: 10px;
        white-space: nowrap;
    }

    .cart-table td {
        padding: 10px;
        vertical-align: middle;
        white-space: nowrap;
    }

    .cart-table .item-name {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.input-group-sm .btn {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.cart-remove-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
}

    .cart-remove-btn:hover {
        background-color: #F39200;
    }
.section-title {
    font-weight: 600;
    color: #0079C1;
    border-bottom: 2px solid #0079C1;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.cart-box, .payment-box {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.cart-table th {
    font-size: 0.85rem;
    white-space: nowrap;
}

    .cart-table td {
        font-size: 0.9rem;
        vertical-align: middle;
        white-space: nowrap;
    }

    .cart-table td .form-control {
        height: 30px;
        padding: 0 8px;
        font-size: 0.85rem;
    }
    .cart-table td:first-child {
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .cart-table td input[type="text"] {
        width: 100%;
    }
.qty-input {
    width: 45px;
    padding: 4px;
}

.cart-tile {
    min-width: 200px;
    border-radius: 8px;
}
    .qty-control button {
        width: 32px;
        height: 32px;
        padding: 0;
        font-size: 18px;
        font-weight: bold;
        line-height: 1;
    }
    .qty-control {
        gap: 4px;
    }

    .qty-control input {
        width: 40px;
        text-align: center;
    }