/* Custom styles for Room Adding Module - Prefix: cus_gk */

.cus_gk_card {
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cus_gk_form_label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.cus_gk_image_preview_container {
    position: relative;
    width: 100%;
    height: 200px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8f9fa;
}

.cus_gk_image_preview_container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.cus_gk_gallery_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cus_gk_gallery_item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.cus_gk_gallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cus_gk_remove_image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cus_gk_cropper_modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.cus_gk_cropper_content {
    background: white;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
}

.cus_gk_amenity_item {
    margin-bottom: 10px;
}

.cus_gk_star_rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.cus_gk_star_rating input {
    display: none;
}

.cus_gk_star_rating label {
    font-size: 25px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.cus_gk_star_rating input:checked~label {
    color: #ffc107;
}

.cus_gk_star_rating label:hover~label {
    color: #ffc107;
}

/* Fix accessibility: Ensure all dropdowns and inputs have black text color */
.form-control,
.form-select,
.select2-container .select2-selection--single {
    color: #000000 !important;
}

select option {
    color: #000000 !important;
    background-color: #ffffff !important;
}

/* Fix visibility for select and other inputs in dark dashboard themes */
.cus_gk_card .form-control,
.cus_gk_card .form-select {
    color: #000000 !important;
    background-color: #fff !important;
    border: 1px solid #ced4da !important;
}

.cus_gk_card select.form-control option {
    color: #000000 !important;
    background-color: #fff !important;
}

.cus_gk_card .bg-light {
    background-color: #f8f9fa !important;
    border: 1px solid #eee;
}




/* Res Order page */
/* Qty wrapper */
.qty-control {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    overflow: hidden;
    height: 32px;
}

/* Buttons (- / +) */
.qty-control button {
    border: none;
    background: transparent;
    width: 28px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Minus button */
.qty-control .btn-minus {
    background-color: #0d6efd;
    color: #fff;
}

.qty-control .btn-minus:hover {
    background-color: #0b5ed7;
}

/* Plus button */
.qty-control .btn-plus {
    background-color: #0d6efd;
    color: #fff;
}

.qty-control .btn-plus:hover {
    background-color: #0b5ed7;
}

/* Quantity text */
.qty-control .qty-value {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    color: #212529;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

button.active {
    color: white !important;
}

/* thernal printer */
@media print {
    body * {
        visibility: hidden;
    }

    #printArea,
    #printArea * {
        visibility: visible;
    }

    #printArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 80mm;
    }
}


.receipt {
    width: 80mm;
    font-family: monospace;
    font-size: 12px;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.bold {
    font-weight: bold;
}

hr {
    border: none;
    border-top: 1px dashed #000;
    margin: 6px 0;
}

.receipt-table,
.totals {
    width: 100%;
    border-collapse: collapse;
}

.receipt-table th,
.receipt-table td {
    padding: 2px 0;
}

.receipt-table th {
    border-bottom: 1px dashed #000;
}

.cus_gk_badge_light {
    color: rgb(14, 12, 12) !important;
    background: #cdb020 !important;
    border: 1px solid #cdb020 !important;
    border-radius: 4px;
}

.cus_gk52_status_active {
    color: #155724 !important;
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
}

.cus_gk52_status_inactive {
    color: #383d41 !important;
    background-color: #e2e3e5 !important;
    border: 1px solid #d6d8db !important;
}

.cus_gk52_badge_info {
    color: #0c5460 !important;
    background-color: #d1ecf1 !important;
    border: 1px solid #bee5eb !important;
}

.cus_gk52_badge_success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
}

.cus_gk52_card_header_success {
    background-color: #f1f9f2 !important;
    border-bottom: 1px solid #d4edda !important;
}

/* ===== Gold Theme Branding ===== */
:root {
    --kanro-gold: #c8a96e;
    --kanro-gold-dark: #a68b57;
    --kanro-gold-light: #fdfaf3;
}

.cus_gk_gold_card {
    border: 1px solid rgba(200, 169, 110, 0.2);
    border-radius: 20px !important;
    transition: all 0.3s ease;
}

.cus_gk_gold_card:hover {
    box-shadow: 0 10px 30px rgba(200, 169, 110, 0.08) !important;
}

.cus_gk_gold_header {
    background-color: var(--kanro-gold-light) !important;
    border-bottom: 1px solid rgba(200, 169, 110, 0.1) !important;
    padding: 20px 24px !important;
}

.cus_gk_gold_header h6 {
    color: var(--kanro-gold-dark) !important;
    letter-spacing: 0.5px;
}

.cus_gk_gold_btn {
    background: linear-gradient(135deg, var(--kanro-gold) 0%, var(--kanro-gold-dark) 100%);
    border: none;
    color: white !important;
    box-shadow: 0 4px 15px rgba(200, 169, 110, 0.3);
}

.cus_gk_gold_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 110, 0.4);
    opacity: 0.95;
}

.cus_gk_total_revenue_box {
    background: linear-gradient(135deg, #1a1c23 0%, #2d3436 100%);
    border-radius: 20px !important;
    border: 1px solid rgba(200, 169, 110, 0.3);
    color: white !important;
}

.cus_gk_total_revenue_box h2 {
    color: var(--kanro-gold) !important;
    text-shadow: 0 2px 10px rgba(200, 169, 110, 0.2);
}

.cus_gk_form_control_premium {
    border-radius: 12px !important;
    padding: 12px 16px !important;
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s ease !important;
}

.cus_gk_form_control_premium:focus {
    border-color: var(--kanro-gold) !important;
    box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.1) !important;
}