header, .navbar-color {
    background-color: #0e8787ab !important;
}

.sidebar .nav-link.active {
    color: #0e8787ab !important;
}

.custom-radio-group .custom-radio-button {
    margin: 5px;
}

.custom-radio-group .custom-radio-button input[type="radio"] {
    display: none;
}

.custom-radio-group .custom-radio-button.active {
    background-color: #0d6efd;
    color: white;
}

/* Style for your custom radio buttons */
.custom-radio-button {
    padding: 8px 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.custom-radio-button.active {
    background-color: #007bff; /* Blue when selected */
    color: #fff;
}

.sync-button i {
    margin-right: 5px; /* Spacing between icon and text */
    font-size: 0.8em;
}

.day-table td {
    padding: 10px; /* Control spacing within cells */
}

.day-table {
    border-collapse: collapse; /* Optional - to remove double cell borders */
}

.day-checkbox {
    display: none; /* Hide the default-looking checkbox */
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 40px; /* Adjust as desired */
    height: 22px;
    background-color: #e0e0e0; /* Off state color */
    border-radius: 20px;
}

/*  Slider Circle */
.custom-switch::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.3s; /* Smooth on/off transition */
}

/*  Checked State  */
.day-checkbox:checked + .custom-switch {
    background-color: #007bff; /* Your desired "On" color */
}

.day-checkbox:checked + .custom-switch::after {
    transform: translateX(18px); /* Move the circle when checked */
}

.custom-switch {
    /* ... Your existing styles ... */
    vertical-align: middle; /* Add this line */
}

.sync-button {
    display: inline-block;
}

.day-row td {
    vertical-align: middle; /* Align content of table cells vertically */
}

.time-select-container {
    transition: opacity 0.3s ease; /* Or a different transition of your choice */
    display: block;
}

.time-select-container-hidden {
    display: none;
}

.custom-img-size {
    object-fit: cover;
    max-height: 275px;
}

.navbar-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
}

.custom-reserve-btn {
    background-color: #28a745;
    color: white;
    font-size: 1.3rem;
    padding: 10px 20px;
    border-radius: 10px;
}

.custom-reserve-btn:hover {
    background-color: #218838;
    color: #fff;
}

.star-rating {
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
}

.star-rating-small {
    font-size: 1rem;
}

.star-rating .fa-star:hover,
.star-rating .fa-star.selected {
    color: gold;
}

.fa-star {
    color: #ccc; /* Default star color */
    cursor: pointer;
}

.fa-star.selected {
    color: gold; /* Highlight selected stars */
}

.dashboard-search-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    border: 2px solid #4fbfbb;
    background-color: rgba(79, 191, 187, 0.14);
}

.dashboard-search-button:hover {
    background-color: rgba(79, 191, 187, 0.24);
}

.hero-section {
    background: linear-gradient(135deg, #e9f7fd 0%, #d4f3f2 100%);
    padding: 80px 0;
}

.hero-section-title-color {
    color: #1b4965;
}

.join-us {
    color: rgb(18 91 68 / 80%);
}

#cookieBanner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    z-index: 1000;
    display: none;
}

.btn-facebook {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-facebook i {
    margin-right: 8px;
}

.card {
    border-radius: 15px;
}

.register-form {
    padding-top: 20px;
    padding-bottom: 20px;
}

.join-button {
    background-color: rgba(18, 91, 68, 0.68);
    color: white;
}

.language-flag {
    width: 20px;
    height: 18px;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .mvh-auto {
        min-height: auto !important;
        height: auto !important;
        padding-top: 50px;
        padding-bottom: 100px;
    }

    .offcanvas-header, .offcanvas-body {
        background-color: #0e8787ab !important;
    }

    .cta .text-left, .cta .text-right {
        text-align: center;
    }
}

.day-row {
    flex-wrap: wrap;
}

.day-checkbox-container {
    min-width: 150px;
    display: flex;
    align-items: center;
}

.time-select-container {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.time-select-container > div {
    display: flex;
    align-items: center;
}

.time-select-container .form-select {
    min-width: 120px;
    margin-right: 10px;
}

.day-label {
    position: relative;
    cursor: pointer;
}

.day-label input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: 0;
}

.day-label .custom-switch {
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    position: relative;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.day-label .custom-switch::after {
    content: '';
    width: 18px;
    height: 18px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform 0.3s;
}

.day-label input[type="checkbox"]:checked + .custom-switch {
    background-color: #28a745;
}

.day-label input[type="checkbox"]:checked + .custom-switch::after {
    transform: translateX(20px);
}

.search-image {
    width: 100%;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px 0 0 10px;
}

.content-margins {
    margin-bottom: 50px;
    margin-top: 50px;
}

.bell-icon {
    position: relative;
    height: 27px;
    width: 27px;
}

.bell-icon-container {
    border: 0;
    margin-top: 5px;
    background-color: transparent;
}

.notification-overlay {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.accordion .collapse {
    visibility: visible !important; /* Reface comportamentul Bootstrap */
    display: none; /* Controlează doar prin display */
}

.accordion .collapse.show {
    display: block !important; /* Controlează doar prin display */
}

.how-it-works .custom-img-size {
    border-radius: 20px;
}

.navbar-brand img {
    border-radius: 10px;
}

ul.navbar-nav-scroll {
    line-height: 2.5rem;
}

.dashboard-background {
    border-radius: 0 0 30px 30px;
}

.mobile-notifications {
    position: absolute;
    right: 5rem;
    top: 1rem;
}

.founder-status-icon {
    position: absolute;
    left: 29px;
    top: -7px;
    color: #f6c240;
}

@media (max-width: 992px) {
    .desktop-notifications {
        display: none;
    }

    .auth-nav li {
        margin-right: 0;
        margin-top: 10px;
    }

    .action-buttons {
        width: 100%;
    }

    .width100-mobile {
        width: 100%;
    }

}

@media (min-width: 992px) {
    .mobile-notifications {
        display: none;
    }

    .auth-nav li {
        margin-right: 15px;
        margin-top: 10px;
    }
}

.width100 {
    width: 100%;
}

.select-container {
    position: relative;
}

.select-container select {
    appearance: none; /* Ascunde stilul default */
    background-color: #f8f9fa; /* Fundal ușor diferit */
    padding-right: 2rem; /* Spațiu pentru icon */
    border: 1px solid #ced4da; /* Stil clasic pentru borduri */
    border-radius: 4px;
}

.select-container::after {
    content: '▼';
    position: absolute;
    top: 75%;
    right: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #6c757d;
}

.notifications-mark-as-read {
    position: absolute;
    bottom: 10px;
    left: 25%;
    width: 50%;
    border: 1px solid transparent;
    background-color: #198754c9;
    padding: 0;
    border-radius: 5px;
}

.padding-bottom-40 {
    padding-bottom: 40px !important;
}

.position-relative {
    position: relative;
}

.pet-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.pet-item.selected {
    background: linear-gradient(45deg, #00d3a22e, #b8e4bf05);
    color: white;
    border-color: #1b4965;
    box-shadow: 0 4px 8px rgba(27, 73, 101, 0.3);
    transform: scale(1.02);
}

.pet-item.selected h6 {
    color: #fff;
}

.pet-item.selected small {
    color: #e0f7fa;
}

.pet-avatar-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
}

.pet-avatar-wrapper .pet-avatar {
    border: 2px solid #1b4965;
}

.pet-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transform: scale(1.02);
}

.chat-box {
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    padding: 10px;
    border-radius: 5px;
}

.message {
    background-color: #e9ecef;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 5px;
}

.chat-box-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 0.9rem;
}

.message-sent {
    background-color: #e9ffe9;
    border-radius: 10px;
    padding: 5px 10px;
    margin-left: auto;
}

.message-received {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 5px 10px;
    margin-right: auto;
}

#chatMessages {
    scroll-behavior: smooth;
}

.card-header {
    font-weight: bold;
    font-size: 1.25rem;
}

#chatMessages {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    background-color: #f9f9f9;
}

.bg-success {
    background-color: #28a745 !important;
    color: #fff !important;
}

.bg-info {
    background-color: #3191d6 !important;
    color: #fff !important;
}

.bg-light {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.card-footer .input-group {
    margin-top: 10px;
}

.carousel-inner img {
    max-height: 50vh; /* Setează o înălțime maximă */
    object-fit: scale-down; /* Ajustează imaginea fără a-i distorsiona proporțiile */
    object-position: center; /* Centrează imaginea în carusel */
    width: 100%; /* Asigură lățimea completă */
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.72); /* Schimbă culoarea săgeților */
}

.action-buttons a, .action-buttons button {
    width: 100%; /* Butoanele vor ocupa aceeași lățime */
    min-width: 120px; /* Setează o lățime minimă pentru butoane */
    margin-bottom: 5px; /* Spațiere între butoane */
    text-align: center; /* Asigură text centrat */
}

@media (min-width: 768px) {
    .action-buttons {
        flex-direction: row; /* Aliniază butoanele pe orizontală */
        gap: 10px; /* Spațiere între butoane */
    }

    .action-buttons a, .action-buttons button {
        margin-bottom: 0; /* Elimină spațierea verticală */
    }
}

.adoption-reserved-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 155px;
    height: 25px;
}

/* Personalizare suplimentară pentru toggle */
.form-check-input {
    width: 2.5rem;
    height: 1.2rem;
    background-color: #e0e0e0;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-right: 10px;
}

.form-check-input:checked {
    background-color: #0d6efd; /* Culoare pentru starea "activ" */
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.5);
}

.must-be-logged-in {
    width: 100%;
    background-color: #ffbbbb;
    padding: 5px 5px 1px 5px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.fc-header-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fc-toolbar-chunk {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.fc-title-wrapper {
    text-align: center;
    font-size: 1em;
    font-weight: normal;
    padding-top: 5px;
}

.service-search-card-title {
    padding: 10px 15px;
}

.petpawtrol-background {
    background-color: #3FB8AF;
    border-color: #3FB8AF;
}

.petpawtrol-background:hover, .petpawtrol-background:focus, .petpawtrol-background:active, .petpawtrol-background:visited {
    background-color: #2a8f8b;
    border-color: #2a8f8b;
}

.clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.min-w-0 {
    min-width: 0;
}

/* titlu un pic mai mare pe md+ */
@media (min-width: 768px) {
    .h4-md {
        font-size: 1.5rem;
    }

    /* ~h4 */
}

/* butoane mai mici pe desktop; pe mobil rămân normale */
@media (min-width: 768px) {
    .btn-md-sm {
        padding: .25rem .6rem;
        font-size: .875rem;
        line-height: 1.25rem;
        border-radius: .4rem;
    }

    .w-md-auto {
        width: auto !important;
    }
}

/* sticky doar pe md+ */
.sticky-md-top {
    position: static;
}

@media (min-width: 768px) {
    .sticky-md-top {
        position: sticky;
        top: 0;
    }
}

.search-img-fill {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* umple; taie doar marginile blur din card_md */
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}

/* pe mobil: păstrăm raport 4:3 și nu forțăm înălțimea 100% */
@media (max-width: 767.98px) {
    .search-img-fill {
        height: auto;
        object-fit: contain;
        border-radius: .5rem .5rem 0 0;
    }

    .service-details-img {
        height: auto;
        object-fit: contain;
    }
}

.service-details-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: .5rem;
}

.ring-new { outline: 3px solid #0d6efd; outline-offset: 2px; }

.search-avatar{
    --av-size: 28px;            /* implicit (mobil/listă) */
    width: var(--av-size);
    height: var(--av-size);
    object-fit: cover;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-left: .4rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
@media (min-width: 768px){
    .search-avatar{ --av-size: 32px; }  /* puțin mai mare pe md+ în listă */
}
