
.selected-date {
    background-color: #42c0fb;
    border: 1px solid #42c0fb;
    color: #ffffff;
cursor: pointer;
}

.card-selected {

color: #fff;
}

.card_servicos {
border: 1px solid #ddd;
border-radius: 10px;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
overflow: hidden;
}

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

.card_servicos .card-body {
padding: 15px;
}

.card_servicos .card-title {
font-weight: bold; 
font-size: 18px;
}

.card_servicos .card-text {
color: #777; 
font-size: 14px;
}

.card_servicos .btn-primary {
background-color: #007bff;
border: none;
color: white; 
padding: 10px 24px; 
text-align: center;
text-decoration: none; 
display: inline-block; 
font-size: 16px; 
margin: 4px 2px;
cursor: pointer;
}


@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i&display=swap');

form {
width: 300px;
margin: 0 auto;
text-align: center;
padding-top: 0px;
}
form span{
text-align: center;
border: none;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin: 20px;
width: 40px;
height: 40px;
margin-block-start: 0px !important;
margin-block-end: 0px !important;
margin-inline-start: 20px !important;
margin-inline-end: 20px !important;
}

.value-button {
display: inline-block;
border: 1px solid #ddd;
margin: 0px;
width: 40px;
height: 20px;
text-align: center;
vertical-align: middle;
padding: 11px 0;
background: #eee;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.value-button:hover {
cursor: pointer;
}

form #decrease {
margin-right: -4px;
border-radius: 8px 0 0 8px;
}

form #increase {
margin-left: -4px;
border-radius: 0 8px 8px 0;
}

/* form #input-wrap {
margin: 0px;
padding: 0px;
} */

input#number {
text-align: center;
border: none;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin: 0px;
width: 40px;
height: 40px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}

///*{
margin: 0;
padding: 0;
box-sizing: border-box;
} */
body{
font-family: 'Open Sans', sans-serif;
font-size: 15px;
line-height: 1.5;
font-weight: 400;
background: #f0f3f6;
color: #3a3a3a;
}
hr {
margin: 20px 0;
border: none;
border-bottom: 1px solid #d9d9d9;
}
label, input{
cursor: pointer;
}
h2,h3,h4,h5{
font-weight: 600;
line-height: 1.3;
color: #1f2949;
}
h2{
font-size: 24px;
}
h3 {
font-size: 18px;
}
h4 {
font-size: 14px;
}
h5 {
font-size: 12px;
font-weight: 400;
}
img{
max-width: 100%;
display: block;
vertical-align: middle;
}
.container {
max-width: 99vw;
margin: 15px auto;
padding: 0 15px;
}

.top-text-wrapper {
margin: 20px 0 30px 0;
}
.top-text-wrapper h4{
font-size: 24px;
margin-bottom: 10px;
}
.top-text-wrapper code{
font-size: .85em;
background: linear-gradient(90deg,#fce3ec,#ffe8cc);
color: #ff2200;
padding: .1rem .3rem .2rem;
border-radius: .2rem;
}
.tab-section-wrapper{
padding: 30px 0;
}

.grid-wrapper {
display: grid;
grid-gap: 30px;
place-items: center;
place-content: center;
}
.grid-col-auto{
grid-template-columns: repeat(auto-fill, minmax(280px, .1fr));
grid-template-rows: auto;
}
.grid-col-1{
grid-template-columns: repeat(1, auto);
grid-template-rows: repeat(1, auto);
}
.grid-col-2{
grid-template-columns: repeat(2, auto);
grid-template-rows: repeat(1, auto);
}
.grid-col-3{
grid-template-columns: repeat(3, auto);
grid-template-rows: repeat(1, auto);
}
.grid-col-4{
grid-template-columns: repeat(4, auto);
grid-template-rows: repeat(1, auto);
}


/* ******************* Selection Radio Item */

.selected-content{
text-align: center;
border-radius: 3px;
box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0);
border: solid 2px transparent;
background: #fff;
height: 330px;
padding: 15px;
display: grid;
grid-gap: 15px;
place-content: center;
transition: .3s ease-in-out all;
}

.selected-content img {
width: 230px;
margin: 0 auto;
}
.selected-content h4 {
font-size: 16px;
letter-spacing: -0.24px;
text-align: center;
color: #1f2949;
}
.selected-content h5 {
font-size: 14px;
line-height: 1.4;
text-align: center;
color: #686d73;
}

.selected-label{
position: relative;
}
.selected-label input{
display: none;
}
.selected-label .icon{
width: 20px;
height: 20px;
border: solid 2px #e3e3e3;
border-radius: 50%;
position: absolute;
top: 15px;
left: 15px;
transition: .3s ease-in-out all;
transform: scale(1);
z-index: 1;
}
.selected-label .icon:before{
content: "\f00c";
position: absolute;
width: 100%;
height: 100%;
font-family: "Font Awesome 5 Free";
font-weight: 900;
font-size: 12px;
color: #000;
text-align: center;
opacity: 0;
transition: .2s ease-in-out all;
transform: scale(2);
}
.selected-label input:checked + .icon{
background: #3057d5;
border-color: #3057d5;
transform: scale(1.2);
}
.selected-label input:checked + .icon:before{
color: #fff;
opacity: 1;
transform: scale(.8);
}
.selected-label input:checked ~ .selected-content{
box-shadow: 0 2px 4px 0 rgba(219, 215, 215, 0.5);
border: solid 2px #3057d5;
}

#spinner {
position: fixed; 
top: 50%; 
left: 50%; 

z-index: 9999; 
}

    :root {
            --primary-color: #6366f1;
            --secondary-color: #8b5cf6;
            --accent-color: #06d6a0;
            --success-color: #10b981;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --bg-light: #f8fafc;
            --border-light: #e5e7eb;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Global Styles */
        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        }

        .container {
            max-width: 1200px;
        }

        /* Main Container */
        .main-booking-container {
            background: white;
            border-radius: 24px;
            box-shadow: var(--shadow-xl);
            margin: 2rem auto;
            overflow: hidden;
            animation: fadeInUp 0.8s ease;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Profile Section */
        .profile-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 3rem 0;
            position: relative;
            overflow: hidden;
        }

        .profile-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
            opacity: 0.3;
        }

        .booking-doc-info {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 2rem;
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }

        .booking-doc-info:hover {
            transform: translateY(-5px);
        }

        .booking-doc-img img,
        .usuario-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            border: 4px solid rgba(255, 255, 255, 0.3);
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .booking-doc-img img:hover,
        .usuario-img:hover {
            transform: scale(1.05);
        }

        .booking-info h4 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .booking-info h4 a {
            color: white;
            text-decoration: none;
        }

        .booking-info .text-muted {
            color: rgba(255, 255, 255, 0.8) !important;
            font-size: 1.1rem;
        }

        /* Services Section */
        .services-section {
            padding: 3rem 0;
            background: var(--bg-light);
        }

        .services-title {
            text-align: center;
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 3rem;
            position: relative;
        }

        .services-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
        }

        /* Service Cards */
        .selection-wrapper {
            height: 100%;
            transition: all 0.3s ease;
        }

        .card_servicos {
            background: white;
            border: 2px solid transparent;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
            cursor: pointer;
            overflow: hidden;
            height: 100%;
            position: relative;
        }

        .card_servicos:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary-color);
        }

        .selected-label {
            display: block;
            cursor: pointer;
            margin: 0;
            height: 100%;
        }

        .selected-label input[type="radio"] {
            display: none;
        }

        .selected-label .icon {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 24px;
            height: 24px;
            border: 2px solid var(--border-light);
            border-radius: 50%;
            background: white;
            z-index: 2;
            transition: all 0.3s ease;
        }

        .selected-label .icon::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 12px;
            font-weight: bold;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .selected-label input:checked+.icon {
            background: var(--accent-color);
            border-color: var(--accent-color);
        }

        .selected-label input:checked+.icon::after {
            opacity: 1;
        }

        .selected-label input:checked~.selected-content {
            background: linear-gradient(135deg, rgba(6, 214, 160, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
        }

        .card_servicos:has(input:checked) {
            border-color: var(--accent-color);
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }

        .selected-content {
            padding: 0;
            height: 100%;
            transition: all 0.3s ease;
        }

        .card-img-top {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .card_servicos:hover .card-img-top {
            transform: scale(1.05);
        }

        .selected-content h4 {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 1rem 1.5rem 0.5rem;
        }

        .selected-content h5 {
            color: var(--text-light);
            font-size: 0.9rem;
            font-weight: 400;
            line-height: 1.5;
            margin: 0 1.5rem 1.5rem;
        }

        /* Schedule Section */
        .schedule-section {
            padding: 3rem 0;
            background: white;
        }

        .schedule-title {
            text-align: center;
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 2rem;
            position: relative;
        }

        .schedule-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            border-radius: 2px;
        }

        .date-display {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: white;
            padding: 2rem;
            border-radius: 16px;
            text-align: center;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-lg);
        }

        .date-display h4 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .date-display p {
            font-size: 1.1rem;
            opacity: 0.9;
            margin: 0;
        }

        /* Schedule Widget */
        .booking-schedule {
            border: none;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
            overflow: hidden;
        }

        .schedule-header {
            background: var(--bg-light);
            padding: 1rem;
            border-bottom: 1px solid var(--border-light);
        }

        .day-slot ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            gap: 2rem;
        }

        .day-slot a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .day-slot a:hover {
            background: var(--secondary-color);
            transform: scale(1.1);
        }

        .schedule-cont {
            padding: 2rem;
        }

        .time-slot ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 1rem;
        }

        .time-slot li {
            background: white;
            border: 2px solid var(--border-light);
            border-radius: 12px;
            padding: 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            float: none !important;
            width: auto !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .time-slot li:hover {
            border-color: var(--primary-color);
            background: rgba(99, 102, 241, 0.05);
            transform: translateY(-2px);
        }

        .time-slot li.selected {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }

        /* Spinner */
        #spinner {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
            margin: 2rem 0;
        }

        /* Submit Section */
        .submit-section {
            background: var(--bg-light);
            padding: 3rem 0;
        }

        .submit-btn {
            background: linear-gradient(135deg, var(--accent-color) 0%, #00b894 100%);
            border: none;
            border-radius: 12px;
            padding: 1rem 2rem;
            font-size: 1.1rem;
            font-weight: 600;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            min-width: 200px;
        }

        .submit-btn:hover:not(.disabled) {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(6, 214, 160, 0.3);
            color: white;
        }

        .submit-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: var(--text-light);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .main-booking-container {
                margin: 1rem;
                border-radius: 16px;
            }

            .profile-section {
                padding: 2rem 0;
            }

            .booking-doc-info {
                text-align: center;
                padding: 1.5rem;
            }

            .services-section,
            .schedule-section {
                padding: 2rem 0;
            }

            .services-title,
            .schedule-title {
                font-size: 1.5rem;
            }

            .time-slot ul {
                grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
                gap: 0.5rem;
            }

            .submit-section {
                text-align: center !important;
            }
        }

        /* Animation for cards */
        .card_servicos {
            animation: slideInUp 0.6s ease forwards;
            opacity: 0;
        }

        .card_servicos:nth-child(1) {
            animation-delay: 0.1s;
        }

        .card_servicos:nth-child(2) {
            animation-delay: 0.2s;
        }

        .card_servicos:nth-child(3) {
            animation-delay: 0.3s;
        }

        .card_servicos:nth-child(4) {
            animation-delay: 0.4s;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }