:root { --adb-primary: #00609b; --adb-gradient: linear-gradient(90deg, #00a0e9 0%, #00609b 100%); --adb-gradient-hover: linear-gradient(90deg, #008bc9 0%, #004b7a 100%); --adb-bg-gray: #f8fafc; --adb-border: #e2e8f0; --adb-text-main: #1e293b; --adb-text-sub: #64748b; }
.adb-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin: 30px 0; }

/* CONTAINER & SEARCH */
.adb-filter-wrapper { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08); margin-bottom: 25px; border: 1px solid #f1f5f9; }
.adb-search-box { position: relative; margin-bottom: 15px; }
.adb-search-box input { width: 100%; height: 50px !important; padding: 12px 20px 12px 50px !important; border: 1px solid var(--adb-border) !important; border-radius: 10px !important; font-size: 15px; background: #fff; transition: all 0.3s; box-shadow: none !important; }
.adb-search-box input:focus { border-color: #00a0e9 !important; box-shadow: 0 0 0 4px rgba(0, 160, 233, 0.1) !important; }
/* Fix icon lệch */
.adb-search-box .dashicons { position: absolute; left: 18px; top: 40%; transform: translateY(-50%); color: #94a3b8; font-size: 22px; line-height: 1; margin: 0; }

/* FILTERS */
.adb-filter-section { margin-bottom: 15px; }
.adb-label-small { font-size: 14px; color: #000000; font-weight: 300; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.adb-filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.adb-tab-btn { background: #f1f5f9; border: 1px solid transparent; padding: 2px 13px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 300; color: #000000; transition: all 0.3s; }
.adb-tab-btn:hover { background: #e2e8f0; color: var(--adb-text-main); }
.adb-tab-btn.active { background: var(--adb-gradient); color: #fff; box-shadow: 0 4px 10px rgba(0, 96, 155, 0.3); font-weight: 500; }

.adb-filter-row-bottom { display: flex; gap: 20px; }
.adb-filter-col { flex: 1; }
.adb-static-input, .adb-select-filter { width: 100%; height: 48px; padding: 0 15px; display: flex; align-items: center; border: 1px solid var(--adb-border); border-radius: 10px; background: #fff; font-size: 14px; color: var(--adb-text-main); box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.adb-static-input { background: #fafafa; color: #555; cursor: default; font-weight: 500; }
.adb-select-filter { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 15px center; background-size: 16px; cursor: pointer; }

/* RESULTS COUNT (MỚI) */
.adb-results-count { font-size: 14px; color: #475569; font-weight: 500; margin-bottom: 10px; padding-left: 5px; }

/* CARD STYLE */
.adb-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #f1f5f9; display: flex; flex-direction: column; transition: all 0.3s; }
.adb-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px -5px rgba(0,0,0,0.1); border-color: #e2e8f0; }
.adb-card-header { position: relative; height: 240px; overflow: hidden; }
.adb-card-header img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.adb-card:hover .adb-card-header img { transform: scale(1.08); }
.adb-rating-badge { position: absolute; top: 15px; right: 15px; background: rgba(255, 255, 255, 0.9); padding: 3px 9px; border-radius: 30px; font-size: 13px; font-weight: 500; color: #1e293b; display: flex; align-items: center; gap: 3px; backdrop-filter: blur(4px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.adb-rating-badge .dashicons { color: #f59e0b; font-size: 16px; margin-top: 2px; }
.adb-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.adb-doc-name { margin: 0 0 6px 0; font-size: 17px; color: var(--adb-text-main); font-weight: 500; }
.adb-doc-spec { margin: 0 0 18px 0; color: var(--adb-text-sub); font-size: 14px; font-weight: 500; }
.adb-info-row { display: flex; justify-content: space-between; margin-bottom: 1px; font-size: 14px; color: #475569; border-bottom: 1px dashed #f1f5f9; padding-bottom: 8px; }
.adb-info-row:last-of-type { border-bottom: none; }
.adb-price-text { color: var(--adb-primary); font-size: 15px; font-weight: 500; }
.adb-tags { display: flex; gap: 8px; margin: 2px 0 15px 0; flex-wrap: wrap; }
.adb-tag { font-size: 11px; padding: 5px 10px; border-radius: 6px; display: flex; align-items: center; gap: 5px; font-weight: 500; }
.adb-tag.video { background: #eff6ff; color: #2563eb; }
.adb-tag.clinic { background: #f0fdf4; color: #16a34a; }
.adb-tag.home { background: #fff7ed; color: #ea580c; }
.adb-availability { background: #f0fdf4; color: #15803d; font-size: 13px; padding: 10px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; font-weight: 300; margin-top: auto; border: 1px solid #dcfce7; }
.adb-btn-book { width: 100%; margin-bottom: 4px; background: var(--adb-gradient); color: #fff; border: none; padding: 7px; border-radius: 8px; font-weight: 500; font-size: 15px; cursor: pointer; transition: all 0.3s; box-shadow: 0 4px 15px rgba(0, 96, 155, 0.25); }
.adb-btn-book:hover { background: var(--adb-gradient-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 96, 155, 0.4); }

/* MODAL STYLE */
.adb-modal { display: none; position: fixed; z-index: 2147483647; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px); justify-content: center; align-items: center; }
.adb-modal.show { display: flex; }
.adb-modal-content { background-color: #fff; margin: auto; padding: 0; border-radius: 20px; width: 95%; max-width: 720px; position: relative; animation: adbSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1); max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
@keyframes adbSlideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.adb-modal-content form { padding: 30px; }
.adb-close { position: absolute; top: 18px; right: 24px; font-size: 28px; font-weight: 300; cursor: pointer; color: #94a3b8; z-index: 10; }
.adb-modal-title { margin: 0; color: #0f172a; font-size: 17px; font-weight: 500; padding: 24px 30px; border-bottom: 1px solid #f1f5f9; background: #fff; position: sticky; top: 0; z-index: 5; }
.adb-m-summary { display: flex; gap: 16px; margin-bottom: 5px; background: #f8fafc; padding: 16px; border-radius: 12px; border: 1px solid #f1f5f9; }
.adb-m-summary img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* Class mới: Style text trong Modal Summary */
.adb-m-info-text { display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.adb-m-info-text strong { font-size: 17px; color: #0f172a; font-weight: 500; margin: 0; line-height: 1.3; }
.adb-m-info-text p { margin: 0; font-size: 13px; color: #64748b; line-height: 1.4; }
.adb-m-info-text .adb-m-star { display: flex; align-items: center; gap: 4px; font-weight: 500; color: #334155; margin-top: 2px; }
.adb-m-info-text .adb-m-star .dashicons { color: #f59e0b !important; font-size: 16px; width: 16px; height: 16px; display: flex; align-items: center; }
/* Form Fields Đồng bộ */
.adb-form-group { margin-bottom: 5px; }
.adb-form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; color: #334155; }
/* Tất cả input dùng chung style để không bị lộn xộn */
.adb-input { width: 100%; height: 48px; padding: 0 15px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; transition: border 0.2s; background: #fff; box-sizing: border-box; }
textarea.adb-input { height: auto; padding-top: 12px; }
.adb-input:focus { border-color: #00a0e9; outline: none; box-shadow: 0 0 0 3px rgba(0,160,233,0.1); }
.adb-form-row-2 { display: flex; gap: 15px; } .adb-form-row-2 .adb-form-group { flex: 1; }

/* Upload Box mới */
.adb-file-upload { border: 2px dashed #e2e8f0; padding: 25px 15px; text-align: center; border-radius: 10px; background: #f8fafc; position: relative; transition: all 0.2s; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.adb-file-upload:hover { border-color: #00609b; background: #f0f9ff; }
.adb-file-upload p { margin: 0; color: #475569; font-weight: 500; }
.adb-file-upload p.small { font-size: 12px; color: #94a3b8; font-weight: 400; }
.adb-file-upload input { position: absolute; width: 100%; height: 100%; opacity: 0; cursor: pointer; top: 0; left: 0; }

.adb-pricing-box { background: #f0f9ff; padding: 20px; border-radius: 12px; margin-bottom: 24px; border: 1px dashed #bae6fd; }
.adb-price-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; color: #475569; }
.adb-price-total { display: flex; justify-content: space-between; border-top: 1px solid #bae6fd; padding-top: 12px; margin-top: 12px; font-weight: 500; color: #00609b; font-size: 16px; }
.adb-modal-actions { display: flex; margin-top: 10px; }
.adb-btn-cancel { display: inline-flex; height: 50px; align-items: center; justify-content: center; width: 50%; padding: 14px; border-radius: 10px; cursor: pointer; background: #fff; border: 1px solid #cbd5e1; color: #475569; font-weight: 500; }
.adb-btn-confirm { display: inline-flex; height: 50px; align-items: center; justify-content: center; width: 50%; letter-spacing: normal; padding: 14px; border-radius: 10px; cursor: pointer; background: var(--adb-gradient); color: #fff; border: none; font-weight: 500; box-shadow: 0 4px 15px rgba(0, 96, 155, 0.3); }