﻿.text-right {
    text-align: right !important;
}

.collapse {
    display: none;
    overflow: hidden;
}

    .collapse.show {
        display: block;
    }

.w-fixed-md {
    max-width: 760px;
}

.w-center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-5 {
    margin-bottom: 5px !important;
}

.border {
    border: solid 1px #ccc;
}

.rounded {
    border-radius: 6px;
}

.p-10 {
    padding: 10px !important;
}

.p-15 {
    padding: 15px !important;
}

.ms-auto {
    margin-left: auto !important;
}

.shadow {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.layout-container {
    padding: 15px;
    background: #fff;
    min-width: 800px;
    overflow-x: auto;
}

.gd-form-container {
    padding: 30px;
    border: solid 1px #ced4da;
    border-radius: 9px;
    background: #fff;
    margin-bottom: 15px;
}

.w-full {
    width: 100%;
}


.gd-header {
    font-size: 14px;
    margin-bottom: 5px;
}

.gd-card {
    padding: 15px;
    background: #fff;
    border: solid 1px #ced4da;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.gd-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

    .gd-table td,
    .gd-table th {
        padding: 6px;
    }

.gd-table-light,
.gd-table-light th {
    background: #e0e0e0;
}

.gd-table.gd-table-lg td,
.gd-table.gd-table-lg th {
    padding: 7px;
}

.gd-table .form-label {
    width: 290px;
    font-weight: bold;
    text-align: right;
}

.gd-table.border-bottom td, .gd-table.border-bottom th {
    border-bottom: solid 1px #ced4da;
}

.gd-table.border-bottom tr:last-child td {
    border-bottom: 0
}

.gd-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.gd-flex {
    display: flex;
}

.gd-gap-5 {
    gap: 5px
}

.gd-form-check {
    display: flex;
    align-items: flex-start;
    column-gap: 5px;
    margin: 5px 0;
}

    .gd-form-check .gd-form-check-label {
        font-weight: bold;
    }

    .gd-form-check input[type="radio"], .gd-form-check input[type="checkbox"] {
        margin: 0;
        margin-top: 1px
    }

.text-light {
    color: #928a8a;
}

.help-text {
    font-size: 12px;
}

[role="button"] {
    cursor: pointer;
}

.venue-current {
    border: solid 2px #c8e1fb;
    background: #f7fbff;
}




.btn-check-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: solid 1px #ddd;
    border-radius: 3px;
    background-color: #fff;
    margin: 0;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

    .btn-check:checked + .btn-check-label {
        color: #fff;
        background-color: #666;
        border-color: transparent;
    }

    .btn-check + .btn-check-label:hover {
        border-color: #bbb;
    }




/*Table*/

.row-active {
    background-color: #e9f2fb !important;
}

.pager td {
    border: 0;
}

.item-row-body {
    padding: 15px !important;
    background-color: #f1f1f1;
}



/* ===== Popup Backdrop ===== */
.popup {
/*    display: none;*/
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

/* ===== Popup Content ===== */
.popup-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.popup-header,
.popup-footer {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-footer {
    border-top: 1px solid #eee;
}

.popup-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.popup-close-btn {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.action-button {
    padding: 10px 16px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

    .action-button:hover {
        background-color: #0056b3;
    }

.row-checked {
    color: green;
}

.row-unchecked {
    color: red;
}
