/* 
    General Options
*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

#tg-container{
    z-index:99999999 !important;
}
:root{
    --primary05: #2a3e5e96 !important;
}
.btn-primary{
    background-color: #2a3e5e !important;
    border-color: #2a3e5e !important;
    box-shadow: #2a3e5e !important;
}
.btn-primary:focus{
    box-shadow: #2a3e5e !important;
}
.btn-primary:hover{
    background-color: #2a3e5ee3 !important;
    border-color: #2a3e5ee3 !important;
}
.form-control:focus{
    border-color: #2a3e5ee3 !important;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield !important;
}

.table tr,
td,
th,
tbody,
thead {
    vertical-align: middle;
    text-align: center;
}
.alert-warning {
    background: #e5e513 !important;
}
.alert-success{
    background: #198754 !important;
    color: #fff;
    border:1px solid #198754;
}

.theme-input {
    width: 100%;
    border: 0;
    background: #2c2b2b93;
    color: #fff;
    outline: 0;
    padding: 0.7em;
    user-select: none !important;
}
.theme-input::placeholder{
    color: #ffffff7e;
}
.theme-input:disabled theme-input:read-only{
    cursor: not-allowed;
    background-color: #b6494991;
    border: 0;
}

.gapper a:hover{
    margin: 0 !important;
}

.alert-danger{
    background: #ed6d6d !important;
    color: #fff !important;
    border:0;
}
.custom-sidebar {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    background-color: #f8f9fa;
    padding: 20px;
}
.custom-sidebar a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #212529;
    margin-bottom: 10px;
    border-radius: 4px;
}
.custom-sidebar a:not(.active-page):hover {
    background-color: #e9ecef;
}
.content {
    margin-left: 270px;
    padding: 20px;
}
.nav-tabs .nav-link{
    transition: 0.3s all;
}
.nav-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: #2a3e5e !important;
    border-color: #fff !important;
    border-radius: 6px;
}

.form-control{
    color: #000000de;
    border: 1px solid #afafaf;
}
.form-control:focus{
    color: #000000de !important;

}

.endfix {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
}

.endfix-small {
    position: absolute;
    top: 6.5px;
    right: 10px;
    bottom: 10px;
}

.date_pricing_wrapper .items {
    border-radius: 10px;
    max-width: 1100px;
    overflow: scroll;
}

.event_details input {
    width: 300px;
}

.image-preview {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.image-preview img {
    width: 137px; /* 150 */
    height: 150px;
    object-fit: cover;
}

.image-preview .move-to-front-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    /* background-color: rgba(0, 0, 0, 0.5); */
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
}

.image-preview .star-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    /* background-color: rgba(0, 0, 0, 0.5); */
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
}
.image-preview .remove-image {
    position: absolute;
    right: 7px;
    bottom: 10px;
}
.active-page {
    background-color: #2a3e5e !important;
    color: #ffffff !important;
}
.active-page:hover{
    background-color: #2a3e5e !important;
    color: #ffffff !important;
}
.active-page:focus{
    background-color: #2a3e5e !important;
    color: #ffffff !important;
}
.reservation_accept_wrapper select{
    padding: 5px;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    outline:0;
    ::focus{
        border: none !important;
        outline:0;
    }
}



/* Data Table */

.nested-table {
    background: #f8f9fa;
    padding: 8px;
    margin: 5px 0;
    border-radius: 4px;
}

.nested-table table {
    margin-bottom: 0;
}

.sip-info {
    display: block;
}

.sip-no {
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    color: #2c3e50;
}

.satis-tarih {
    font-size: 0.85rem;
    color: #7f8c8d;
    display: block;
    margin-top: 2px;
}

.satis-saat {
    font-size: 0.8rem;
    color: #95a5a6;
    display: block;
}

.form-select-sm,
.input-group-sm {
    height: 31px;
}

.input-group-sm input {
    font-size: 0.875rem;
}

.input-group-text {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

#searchInput {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#searchButton {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Sayfa listeleme seçeneği için stil */
.dataTables_length {
    margin-bottom: 10px;
}

.dataTables_length select {
    min-width: 60px;
}