.salon-container {
    padding: 20px;
    font-family: Arial, sans-serif;
}

.button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
}

.button:hover {
    background-color: #005f8d;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 400px;
    border-radius: 8px;
}

.popup h3 {
    margin: 0 0 15px;
}

.popup input,
.popup select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

.salon-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.salon-table th,
.salon-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.salon-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.salon-table tr:hover {
    background-color: #f1f1f1;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-dropdown {
    border: 1px solid #ccc;
}

.select2-results__option {
    padding: 8px;
}

header,
footer {
    display: none !important;
}

.container {
    width: 99% !important;
    max-width: 99% !important;
}

.table-container {
    margin-top: 20px;
}

#appointments-table_filter {
    margin-bottom: 10px;
}

#appointments-table_filter input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.total-price{
    background-color: white;
    text-align: center;
    width: fit-content;
    font-weight: bold;
    margin: auto;
    line-height: 18px;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid grey;
}

.edit-client{
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
}

.edit-client:hover {
    background-color: #45a049;
}

.delete-appointment{
    background-color: #a00b17;
    color: white;
    border: none;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 12px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
}

.edit-appointment:hover {
    background-color: #45a049;
}

#edit-appointment-popup .popup-content {
    max-width: 500px;
}

#edit-appointment-form .select2-container {
    width: 100% !important;
}

#main-content #post-1193 .main_title {
    display: none !important;
}

body:not(.et-tb) #main-content .container,
body:not(.et-tb-has-header) #main-content .container {
    padding-top: 0px !important;
}

.header_appointments {
    display: flex;
    justify-content: space-between;
    /* Distribuie elementele pe întreaga lățime */
    align-items: center;
    /* Aliniază vertical elementele */
    margin-bottom: 20px;
    /* Spațiere între acest rând și conținutul de dedesubt */
}

.logo img {
    max-height: 50px;
    /* Ajustează dimensiunea logo-ului */
    width: auto;
}

.title_page {
    text-align: center;
    flex: 1;
    /* Ocupă spațiul rămas pentru a poziționa titlul în centru */
}

.title_page h1 {
    margin: 0;
    font-size: 24px;
}

.buttons_appointment {
    display: flex;
    gap: 10px;
    /* Spațiu între butoane */
}

.buttons_appointment .button {
    padding: 7px;
    border: none;
    border-radius: 5px;
    background-color: #0073aa;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    
}

.buttons_appointment .button:hover {
    background-color: #005f8d;
}

#edit_appointment_hours, #edit_appointment_minutes, #appointment_hours, #appointment_minutes {
    width: 48%;
}

p {
    padding-bottom: 0px !important;
}

#add-appointment-form button, #add-client-popup .new_button, #edit-appointment-form button, #edit-client-popup .new_button {
    width: 100%;
}

#add-appointment-form{
    height: 550px;
    overflow: auto;
}
#client_name, #client_email, #client_phone {
    padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
}

#view-clients-popup{
    width: 800px;
    height: 600px;
}

#clients-table_wrapper{
    height: 500px;
    overflow: auto;
}

#edit-client-form input{
    padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
}

table.dataTable thead .sorting {
    color: #fff !important;
    background-color: #da2323 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    font-size: 14px;
    color: #000 !important;
}

.appointments-list {
    list-style-type: none;
    padding: 0;
}

.appointments-list li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.appointments-list li:last-child {
    border-bottom: none;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-color: #f5f5f5;
}

.login-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
}

.login-card h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #000000;
}

.login-card .subtitle {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #666666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: white;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #000000;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    background: #000000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background: #333333;
}

/* Error message styling */
.login-error {
    color: #dc2626;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

#username, #password {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: white;
    transition: border-color 0.2s;
    width: 100%;
}

#main-content {
    background-color: #f5f5f5;
}

#calendar-popup {
    width: 90%;
    height: 90vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    z-index: 1000;
    overflow: hidden;
}

#calendar-popup .popup-content {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding: 20px;
}

#calendar-container {
    width: 100%;
    height: calc(100% - 40px);
    /* scădem padding-ul */
    overflow: auto;
}

/* Asigurați-vă că FullCalendar se ajustează corect */
.fc {
    height: 100% !important;
}

.tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #fff;
    padding: 10px;
    padding-bottom: 0px;
}

.tab-button {
    display: inline-flex;
    padding: 10px 10px;
    margin-right: 10px;
    border:0px;
    text-decoration: none;
    white-space: nowrap;
    margin-bottom: 10px;
}

.tab-button.active {
    background: #da2323 !important;
    color: #fff;

}

#lista-preturi-content{
    margin-top: 20px;
}

.tab-content-container {
    border: 1px solid #ccc;
    padding: 15px;
    background: #fff;
    border-radius: 0 5px 5px 5px;
    height: 400px;
    overflow: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

#swal2-html-container{
    display: block;
    width: 100%;
    overflow: hidden;
}
        
.table-services {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;   
    height: 400px;
        overflow: auto;
        position: relative;
        display: table;
        width: 100%;
}

.table-services th,
.table-services td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.table-services th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.table-services input[type="number"] {
    width: 100px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#appointments-table small{
    font-size: 13px;
    width: 300px;
    display: block;
    line-height: 18px;
    padding-top: 5px;
    font-style: italic;
    opacity: 0.7;

}

.service_title{
    width: 300px;
    font-size: 16px;
    font-weight: bold;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    list-style: none;
    display: flex;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ff0000  !important;
}

tr.highlight {
    background-color: #f0d56b !important;
    transition: background-color 0.5s ease;
}

@media only screen and (max-width: 768px) {
    .dataTables_wrapper .dataTables_paginate {
        margin-top: 20px;
        text-align: center;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: center;
    }

    .dataTables_wrapper table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"] {
        display: flex;
        flex-direction: column;
    }
}

/* Stiluri generale */
.header_appointments {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Ascunde titlul pe mobil */
@media (max-width: 768px) {
    .title_page {
        display: none;
    }
}

/* Meniu burger */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-right: 20px;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

/* Activează meniul pe mobil */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .buttons_appointment {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        padding: 10px;
        z-index: 10;
    }

    .buttons_appointment.active {
        display: flex;
    }

    .buttons_appointment .button {
        margin-bottom: 10px;
    }
}

.settings-popup-content input[type="color"] {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
}


.settings-popup-content button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.settings-popup-content button:hover {
    background-color: #444;
}

#add-appointment-btn,#add-client-btn{
    background-color: #59aa00;
}

.filter-buttons {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.filter-buttons button {
    padding: 10px 15px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.filter-buttons button.active {
    background-color: #0056b3;
}

.filter-buttons button:hover {
    background-color: #0056b3;
}

.filter-buttons{
    width: fit-content;
    display: inline-block;
    margin-left: 40px;
}

#send-confirmation-sms, #send-review-sms{
    width: 100% !important;
    margin-bottom: 15px;
    background-color: #00aa05;
}

.id_programare_table{
    padding: 5px;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

/* Stil pentru tabelul recenziilor */
#tabel-recenzii {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Stil pentru antet */
#tabel-recenzii thead tr {
    background-color: #4CAF50;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#tabel-recenzii thead th {
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
}

/* Stil pentru rânduri */
#tabel-recenzii tbody tr {
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

#tabel-recenzii tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

#tabel-recenzii tbody tr:hover {
    background-color: #e0f7fa;
}

/* Stil pentru celule */
#tabel-recenzii tbody td {
    padding: 12px 15px;
    text-align: center;
    vertical-align: middle;
    color: #333;
}

/* Stil pentru butoane */
button.change-status {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

button.btn-publica {
    background-color: #28a745;
    color: white;
}

button.btn-publica:hover {
    background-color: #218838;
}

button.btn-ascunde {
    background-color: #dc3545;
    color: white;
}

button.btn-ascunde:hover {
    background-color: #c82333;
}

/* Stil pentru text */
#tabel-recenzii tbody td:first-child {
    font-weight: bold;
    color: #4CAF50;
}

#tabel-recenzii tbody td:last-child {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Stil pentru tabel responsive */
@media (max-width: 768px) {
    #tabel-recenzii {
        font-size: 14px;
    }

    #tabel-recenzii tbody td {
        padding: 10px;
    }

    button.change-status {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media screen and (max-width: 700px) {
    .filter-buttons {
        width: fit-content;
        display: inline-flex;
        margin-left: 0;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 1rem;
        border: 1px solid #ccc;
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        content: attr(data-label);
        font-weight: bold;
    }
    #appointments-table_wrapper .dataTable tbody td {
        padding-top: 30px;
        padding-right: 10px;
        font-size: 14px !important;
    }

    #appointments-table_wrapper br{
        display: none;
    }

    .service_title{
        width: fit-content;
    }

    #appointments-table small{
        width: fit-content;
    }

    .page-id-1193 #page-container {
        padding-top: 0px !important;
        margin-top:0px !important
    }
    .popup{
        width: 95%;
    }
    #view-clients-popup {
        width: 95%;
        height: 600px;
        overflow: auto;
    }
        #edit_appointment_hours,
        #edit_appointment_minutes,
        #appointment_hours,
        #appointment_minutes {
            width: 100%;
        }
}

.edit-appointment,
.send-sms-popup {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    font-size: 12px;
    margin: 2px 2px;
    cursor: pointer;
    border-radius: 3px;
    width: 100%;
    text-transform: none !important;
    margin-bottom: 10px;
}

#sms-message-content{
    background-color: aliceblue;
    border-radius: 10px;
    border: 1px solid grey;
    padding: 15px !important;
    height: 210px;
}

#appointments-list{
    max-height: 100px;
    overflow: auto;
}

table.dataTable.display tbody tr>.sorting_1,
table.dataTable.display tbody tr>.sorting_2,
table.dataTable.display tbody tr>.sorting_3{
    font-weight: bold;
    text-transform: uppercase;
}

