.d247b-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
} .d247b-card {
background: #fff;
border: 1px solid #e8eef8;
border-radius: 24px;
display: flex;
flex-direction: column;
overflow: hidden;
transition: box-shadow .2s ease, transform .2s ease;
cursor: pointer;
}
.d247b-card:hover {
box-shadow: 0 8px 32px rgba(30,58,95,.12);
transform: translateY(-2px);
}
.d247b-card-top {
padding: 32px 32px 0;
}
.d247b-icon-box {
width: 64px;
height: 64px;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 22px;
flex-shrink: 0;
}
.d247b-icon-box img,
.d247b-icon-box svg { display: block; }
.d247b-card-body {
padding: 0 32px 0;
flex: 1;
}
.d247b-card-category {
display: inline-block;
font-size: 12px;
font-weight: 600;
letter-spacing: .4px;
color: #3b6ea5;
text-transform: uppercase;
margin-bottom: 6px;
}
.d247b-card-title {
margin: 0 0 10px;
font-size: 18px;
font-weight: 700;
color: #0d1b4b;
line-height: 1.3;
}
.d247b-card-desc {
margin: 0;
font-size: 14px;
color: #6b7a99;
line-height: 1.6;
}
.d247b-card-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 32px;
border-top: 1px solid #edf0f7;
margin-top: 16px;
}
.d247b-card-price {
font-size: 15px;
color: #0d1b4b;
}
.d247b-card-price strong { font-size: 18px; }
.d247b-card-price small  { font-size: 12px; color: #6b7a99; margin-left: 4px; } .d247b-book-btn {
border: none;
cursor: pointer;
font-weight: 600;
transition: background .2s, color .2s, transform .15s;
}
.d247b-btn-circle {
width: 40px;
height: 40px;
border-radius: 50%;
background: #f0f4ff;
color: #0d1b4b;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.d247b-btn-circle:hover {
background: #3b82f6;
color: #fff;
}
.d247b-btn-full {
width: 100%;
padding: 13px 24px;
border-radius: 10px;
background: #f0f4ff;
color: #0d1b4b;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
font-size: 15px;
}
.d247b-btn-full:hover {
background: #3b82f6;
color: #fff;
} .d247b-chip {
display: inline-block;
background: #e8eef8;
color: #1e3a5f;
border-radius: 20px;
padding: 2px 10px;
font-size: 12px;
margin: 2px;
} .d247b-badge {
display: inline-block;
padding: 3px 10px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
}
.d247b-status-pending   { background: #fef3c7; color: #92400e; }
.d247b-status-confirmed { background: #d1fae5; color: #065f46; }
.d247b-status-completed { background: #dbeafe; color: #1e40af; }
.d247b-status-cancelled { background: #fee2e2; color: #991b1b; }
.d247b-status-no-show   { background: #f3e8ff; color: #6b21a8; } .d247b-two-col { display: flex; gap: 40px; margin-top: 20px; }
.d247b-col-left  { flex: 0 0 360px; }
.d247b-col-right { flex: 1; } .d247b-schedule-table td, .d247b-schedule-table th { padding: 8px 12px; vertical-align: middle; }
.d247b-row-inactive { opacity: .45; } .d247b-toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.d247b-toggle input { opacity: 0; width: 0; height: 0; }
.d247b-toggle-slider {
position: absolute; inset: 0;
background: #ccc; border-radius: 24px;
cursor: pointer; transition: .2s;
}
.d247b-toggle-slider:before {
content: '';
position: absolute;
width: 18px; height: 18px;
left: 3px; bottom: 3px;
background: #fff; border-radius: 50%;
transition: .2s;
}
.d247b-toggle input:checked + .d247b-toggle-slider { background: #3b82f6; }
.d247b-toggle input:checked + .d247b-toggle-slider:before { transform: translateX(20px); } .d247b-dayoff-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; }
.d247b-service-link { margin-bottom: 8px; font-size: 13px; } .d247b-overlay {
display: none;
position: fixed; inset: 0; z-index: 2147483646;
background: rgba(13,27,75,.55);
backdrop-filter: blur(4px);
align-items: center;
justify-content: center;
padding: 20px;
}
.d247b-overlay[aria-hidden="false"] {
display: flex;
} body.d247b-modal-open #nowbuttons,
body.d247b-modal-open .nowbuttons,
body.d247b-modal-open [class*="nowbuttons"],
body.d247b-modal-open [id*="nowbuttons"],
body.d247b-modal-open .call-now-button,
body.d247b-modal-open .whatsapp-button,
body.d247b-modal-open [class*="floating-call"],
body.d247b-modal-open [class*="floating-whatsapp"] {
display: none !important;
visibility: hidden !important;
}
@keyframes d247b-fadein { from { opacity: 0; } to { opacity: 1; } }
.d247b-modal {
background: #fff;
border-radius: 20px;
width: 100%;
max-width: 640px;
max-height: 90vh;
overflow-y: auto;
position: relative;
animation: d247b-slideup .25s ease;
box-shadow: 0 24px 64px rgba(0,0,0,.18);
}
@keyframes d247b-slideup { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.d247b-modal-close {
position: absolute; top: 16px; right: 16px;
background: #f0f4ff; border: none; border-radius: 50%;
width: 36px; height: 36px;
display: flex; align-items: center; justify-content: center;
cursor: pointer; z-index: 10; transition: background .15s;
}
.d247b-modal-close:hover { background: #e0e8ff; }
.d247b-modal-header {
padding: 28px 32px 20px;
border-bottom: 1px solid #edf0f7;
}
.d247b-modal-header h2 { margin: 0 0 12px; font-size: 22px; color: #0d1b4b; }
.d247b-steps { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.d247b-step { color: #9aadcc; font-weight: 500; }
.d247b-step.active { color: #3b82f6; font-weight: 700; }
.d247b-step-sep { color: #d0d9ec; }
.d247b-modal-body { padding: 24px 32px 32px; } .d247b-modal .d247b-cal-wrap { margin-bottom: 20px; }
.d247b-modal .d247b-doctor-row { margin-bottom: 20px; }
.d247b-modal .d247b-doctor-row label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 6px; }
.d247b-modal #d247b-doctor-select {
width: 100%;
padding: 10px 14px;
border: 1.5px solid #d0d9ec;
border-radius: 10px;
font-size: 14px;
color: #0d1b4b;
outline: none;
transition: border-color .15s;
box-sizing: border-box;
}
.d247b-modal #d247b-doctor-select:focus { border-color: #3b82f6; } .d247b-modal .d247b-cal,
.d247b-modal .d247b-cal *,
.d247b-modal .d247b-cal *::before,
.d247b-modal .d247b-cal *::after {
box-sizing: border-box;
}
.d247b-modal .d247b-cal-nav,
.d247b-modal .d247b-cal-day,
.d247b-modal .d247b-cal-weekdays > div {
background: none;
background-image: none;
text-shadow: none;
text-decoration: none;
text-transform: none;
font-family: inherit;
letter-spacing: normal;
appearance: none;
-webkit-appearance: none;
outline: none;
margin: 0;
}
.d247b-modal .d247b-cal {
width: 100%;
max-width: 380px;
margin-left: auto;
margin-right: auto;
display: block;
}
.d247b-modal .d247b-cal-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
}
.d247b-modal .d247b-cal-month-label {
font-size: 14px;
font-weight: 700;
color: #111827;
flex: 1;
text-align: center;
}
.d247b-modal .d247b-cal-nav {
width: 30px;
height: 30px;
min-width: 30px;
border-radius: 7px;
border: 1.5px solid #e5e7eb;
background: #ffffff !important;
color: #6b7280;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
flex-shrink: 0;
transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.d247b-modal .d247b-cal-nav:hover {
border-color: #1e3a5f;
color: #1e3a5f;
background: #f0f7ff !important;
}
.d247b-modal .d247b-cal-nav-disabled {
opacity: 0.35;
cursor: not-allowed !important;
pointer-events: none;
}
.d247b-modal .d247b-cal-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 3px;
margin-bottom: 4px;
}
.d247b-modal .d247b-cal-weekdays > div {
text-align: center;
font-size: 10px;
font-weight: 600;
color: #9ca3af;
padding: 4px 0;
text-transform: uppercase;
letter-spacing: 0.4px;
background: transparent !important;
}
.d247b-modal .d247b-cal-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 3px;
}
.d247b-modal .d247b-cal-day {
aspect-ratio: 1 / 1;
min-height: 32px;
max-height: 44px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12.5px;
font-weight: 500;
color: #9ca3af;
background: #f8fafc !important;
border: 1.5px solid transparent;
border-radius: 6px;
cursor: default;
transition: all .15s ease;
user-select: none;
padding: 0;
line-height: 1;
}
.d247b-modal .d247b-cal-day.other-month { opacity: 0.35; }
.d247b-modal .d247b-cal-day.past,
.d247b-modal .d247b-cal-day.disabled {
cursor: not-allowed;
background: #f1f5f9 !important;
color: #cbd5e1;
}
.d247b-modal .d247b-cal-day.available {
background: #ffffff !important;
border-color: #bfe4f5;
color: #1e3a5f;
cursor: pointer;
font-weight: 600;
}
.d247b-modal .d247b-cal-day.available:hover {
background: #eff6ff !important;
border-color: #3b82f6;
}
.d247b-modal .d247b-cal-day.selected {
background: #1e3a5f !important;
border-color: #1e3a5f !important;
color: #ffffff !important;
}
.d247b-modal .d247b-cal-day.today { box-shadow: inset 0 0 0 1.5px #3b82f6; }
.d247b-modal .d247b-cal-selected {
margin-top: 10px;
font-size: 13px;
font-weight: 600;
color: #1e3a5f;
padding: 8px 12px;
background: #f0f7ff;
border-radius: 8px;
text-align: center;
}
.d247b-modal .d247b-cal-selected:empty { display: none; }
.d247b-slots-placeholder { color: #9aadcc; font-size: 14px; text-align: center; padding: 20px 0; }
.d247b-slots-header { font-size: 12px; font-weight: 700; color: #6b7a99; text-transform: uppercase; letter-spacing: .5px; margin: 16px 0 8px; }
.d247b-slots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; margin-bottom: 14px; }
.d247b-slot {
padding: 6px 4px;
border: 1.5px solid #d0d9ec;
border-radius: 6px;
text-align: center;
font-size: 11.5px;
font-weight: 600;
color: #0d1b4b;
cursor: pointer;
transition: all .15s;
background: #fff;
line-height: 1.2;
}
.d247b-slot:hover:not(.disabled):not(.full) { border-color: #3b82f6; color: #3b82f6; background: #f0f7ff; }
.d247b-slot.selected { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.d247b-slot.disabled, .d247b-slot.full { opacity: .4; cursor: not-allowed; background: #f5f5f5; }
.d247b-slot.full::after { content: ' (Full)'; font-size: 9px; display: block; }
.d247b-step1-footer { margin-top: 24px; text-align: right; } .d247b-summary-box {
background: #f0f7ff;
border: 1px solid #bdd4f5;
border-radius: 10px;
padding: 14px 18px;
margin-bottom: 20px;
font-size: 14px;
color: #1e3a5f;
line-height: 1.7;
}
.d247b-form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
}
.d247b-form-group.d247b-full-width { grid-column: 1 / -1; }
.d247b-form-group label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 5px; }
.d247b-form-group input,
.d247b-form-group textarea {
width: 100%;
padding: 9px 12px;
border: 1.5px solid #d0d9ec;
border-radius: 8px;
font-size: 14px;
color: #0d1b4b;
outline: none;
transition: border-color .15s;
box-sizing: border-box;
font-family: inherit;
resize: vertical;
}
.d247b-form-group input:focus,
.d247b-form-group textarea:focus { border-color: #3b82f6; }
.d247b-form-group input.error,
.d247b-form-group textarea.error { border-color: #ef4444; }
.d247b-error {
background: #fee2e2;
border: 1px solid #fca5a5;
border-radius: 8px;
color: #991b1b;
padding: 10px 14px;
font-size: 13px;
margin-top: 12px;
}
.d247b-step2-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; } .d247b-btn-primary {
background: linear-gradient(135deg,#1e3a5f,#3b6ea5);
color: #fff; border: none; border-radius: 10px;
padding: 12px 28px; font-size: 15px; font-weight: 600;
cursor: pointer; transition: opacity .15s;
}
.d247b-btn-primary:hover:not(:disabled) { opacity: .9; }
.d247b-btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.d247b-btn-secondary {
background: #f0f4ff; color: #0d1b4b; border: none; border-radius: 10px;
padding: 12px 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.d247b-btn-secondary:hover { background: #e0e8ff; } .d247b-loading {
position: absolute; inset: 0; background: rgba(255,255,255,.85);
border-radius: 20px; flex-direction: column;
align-items: center; justify-content: center; gap: 12px;
z-index: 10;
display: none;
}
.d247b-loading.d247b-loading-visible {
display: flex;
}
.d247b-loading p { color: #3b6ea5; font-weight: 600; margin: 0; }
.d247b-spinner {
width: 36px; height: 36px;
border: 3px solid #dbeafe;
border-top-color: #3b82f6;
border-radius: 50%;
animation: d247b-spin .7s linear infinite;
}
@keyframes d247b-spin { to { transform: rotate(360deg); } } @media (max-width: 768px) {
.d247b-grid { grid-template-columns: 1fr 1fr; }
.d247b-form-grid { grid-template-columns: 1fr; }
.d247b-modal { border-radius: 14px; }
.d247b-modal-body { padding: 16px 20px 24px; }
.d247b-modal-header { padding: 20px 20px 16px; }
.d247b-modal .d247b-cal { max-width: 320px; }
.d247b-modal .d247b-cal-day { font-size: 12px; min-height: 30px; max-height: 40px; }
.d247b-modal .d247b-cal-weekdays > div { font-size: 9px; padding: 3px 0; }
.d247b-modal .d247b-cal-month-label { font-size: 13px; }
.d247b-modal .d247b-cal-nav { width: 28px; height: 28px; min-width: 28px; }
}
@media (max-width: 480px) {
.d247b-grid { grid-template-columns: 1fr; }
.d247b-modal .d247b-cal { max-width: 100%; }
.d247b-modal .d247b-cal-grid { gap: 2px; }
.d247b-modal .d247b-cal-weekdays { gap: 2px; }
.d247b-modal .d247b-cal-day { font-size: 11px; min-height: 28px; max-height: 36px; border-width: 1px; }
} .d247b-card-desc--list{margin:0;font-size:14px;color:#6b7a99;line-height:1.55}.d247b-card-desc--list ul,.d247b-card-desc--list ol{list-style:none;margin:0;padding:0}.d247b-card-desc--list li{position:relative;padding-left:26px;margin:0 0 8px;color:#4a5878}.d247b-card-desc--list li:last-child{margin-bottom:0}.d247b-card-desc--list li::before{content:"";position:absolute;left:0;top:4px;width:17px;height:17px;border-radius:50%;background-color:#80C422;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");background-size:11px 11px;background-position:center;background-repeat:no-repeat;box-shadow:0 0 0 3px rgba(128,196,34,.12)} @media (max-width:600px){.d247b-modal input,.d247b-modal select,.d247b-modal textarea{font-size:16px!important}}@supports not (aspect-ratio:1/1){.d247b-cal-day{height:38px!important}}.d247b-card,.d247b-card a,.d247b-card button,.d247b-modal a,.d247b-modal button,.d247b-book-btn{-webkit-tap-highlight-color:rgba(0,0,0,0)}.d247b-card-title,.d247b-card-desc,.d247b-card-desc--list li{overflow-wrap:break-word;word-wrap:break-word}@media (prefers-reduced-motion:reduce){.d247b-card,.d247b-modal,.d247b-modal *,.d247b-book-btn{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}