/**
 * Solestra Rental System - Frontend Styles (Minimal / Theme-Matched)
 */

/* ─── Base Wrapper ───────────────────────────────────────── */

.solestra-booking-wrapper {
    max-width: 520px;
    margin: 24px 0;
    font-family: inherit;
}

/* ─── Trigger Button (Sepete Ekle gibi) ──────────────────── */

.solestra-booking-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 22px 32px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.25em;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    outline: none;
    transition: color 0.2s ease-out, background-color 0.2s ease-out;
}

.solestra-booking-trigger:hover {
    background-color: #2e2e2e;
    color: #fff;
}

.solestra-booking-trigger:active {
    background-color: #1a1a1a;
}

.solestra-booking-trigger svg {
    flex-shrink: 0;
    stroke: #fff;
}

/* ─── Body Scroll Lock ──────────────────────────────────── */

body.solestra-modal-open {
    overflow: hidden;
}

/* ─── Booking Modal Overlay ──────────────────────────────── */

.solestra-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.solestra-modal-overlay--visible {
    background: rgba(0, 0, 0, 0.6);
}

.solestra-modal {
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solestra-modal-overlay--visible .solestra-modal {
    transform: translateY(0);
    opacity: 1;
}

/* ─── Modal Header ───────────────────────────────────────── */

.solestra-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: #000;
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

.solestra-modal-title {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    flex: 1;
}

.solestra-modal-header .solestra-booking-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.solestra-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.solestra-meta-badge svg {
    flex-shrink: 0;
}

.solestra-modal-header .solestra-meta-badge {
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.solestra-modal-header .solestra-meta-deposit {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
}

.solestra-modal-header .solestra-meta-duration {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
}

.solestra-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s ease-out;
    padding: 0;
    flex-shrink: 0;
}

.solestra-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ─── Modal Body ─────────────────────────────────────────── */

.solestra-modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 0;
    overscroll-behavior: contain;
}

/* ─── Step Progress ──────────────────────────────────────── */

.solestra-step-progress {
    position: relative;
    margin: 0;
    padding: 20px 24px 16px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.solestra-progress-track {
    position: absolute;
    top: 34px;
    left: 50px;
    right: 50px;
    height: 1px;
    background: #ddd;
    z-index: 0;
}

.solestra-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #000;
    transition: width 0.4s ease-out;
    width: 0;
}

.solestra-progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.solestra-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.solestra-progress-step span {
    font-size: 9px;
    font-weight: 600;
    color: #bbb;
    transition: color 0.2s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.solestra-progress-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    background: #fff;
    color: #bbb;
    border: 1px solid #ddd;
    transition: all 0.2s ease-out;
}

.solestra-progress-step.active .solestra-progress-dot {
    background: #000;
    color: #fff;
    border-color: #000;
}

.solestra-progress-step.active span {
    color: #000;
}

.solestra-progress-step.completed .solestra-progress-dot {
    background: #000;
    color: #fff;
    border-color: #000;
}

.solestra-progress-step.completed .solestra-progress-dot::after {
    content: '\2713';
    font-size: 12px;
}

.solestra-progress-step.completed span {
    color: #666;
}

/* ─── Calendar Container ─────────────────────────────────── */

.solestra-datetime-picker {
    background: #fff;
}

.solestra-calendar-container {
    position: relative;
}

.solestra-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.solestra-cal-week-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #000;
    text-transform: uppercase;
    text-align: center;
    flex: 1;
}

.solestra-cal-prev,
.solestra-cal-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid #ddd;
    color: #000;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s ease-out;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}

.solestra-cal-prev:hover:not(.solestra-cal-nav-disabled),
.solestra-cal-next:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.solestra-cal-prev:hover:not(.solestra-cal-nav-disabled) svg,
.solestra-cal-next:hover svg {
    stroke: #fff;
}

.solestra-cal-prev svg,
.solestra-cal-next svg {
    display: block;
    stroke: #000;
    transition: stroke 0.2s ease-out;
}

.solestra-cal-nav-disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

/* ─── Week Strip ─────────────────────────────────────────── */

.solestra-week-strip {
    display: flex;
    gap: 0;
    padding: 16px 12px 20px;
}

/* ─── Day Cards ──────────────────────────────────────────── */

.solestra-day-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 12px 4px 10px;
    cursor: default;
    transition: all 0.2s ease-out;
    user-select: none;
    position: relative;
    border: 1px solid transparent;
    margin: 0 2px;
}

.solestra-day-name {
    font-size: 9px;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1;
    transition: color 0.2s;
}

.solestra-day-num {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #ddd;
    transition: color 0.2s;
}

.solestra-day-month {
    font-size: 9px;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
    transition: color 0.2s;
}

.solestra-day-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #000;
    display: block;
    margin-top: 2px;
}

/* Available */
.solestra-day-card.solestra-day-available {
    cursor: pointer;
}

.solestra-day-card.solestra-day-available .solestra-day-name {
    color: #666;
}

.solestra-day-card.solestra-day-available .solestra-day-num {
    color: #000;
}

.solestra-day-card.solestra-day-available .solestra-day-month {
    color: #888;
}

.solestra-day-card.solestra-day-available:hover {
    background: #f5f5f5;
    border-color: #eee;
}

/* Selected */
.solestra-day-card.solestra-day-selected {
    background: #000 !important;
    border-color: #000 !important;
}

.solestra-day-card.solestra-day-selected .solestra-day-name {
    color: rgba(255, 255, 255, 0.6) !important;
}

.solestra-day-card.solestra-day-selected .solestra-day-num {
    color: #fff !important;
}

.solestra-day-card.solestra-day-selected .solestra-day-month {
    color: rgba(255, 255, 255, 0.5) !important;
}

.solestra-day-card.solestra-day-selected .solestra-day-dot {
    display: none;
}

/* Today */
.solestra-day-card.solestra-day-today {
    border-color: #000;
}

/* Disabled */
.solestra-day-card.solestra-day-disabled {
    cursor: not-allowed;
    opacity: 0.25;
}

/* ─── Calendar Loading ───────────────────────────────────── */

.solestra-calendar-loading,
.solestra-time-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.solestra-loader {
    width: 24px;
    height: 24px;
    border: 2px solid #eee;
    border-top-color: #000;
    border-radius: 50%;
    animation: solestra-spin 0.6s linear infinite;
}

@keyframes solestra-spin {
    to { transform: rotate(360deg); }
}

/* ─── Time Panel (Inline) ────────────────────────────────── */

.solestra-time-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, opacity 0.3s;
    opacity: 0;
    border-top: 1px solid transparent;
}

.solestra-time-panel.solestra-time-panel--open {
    max-height: 500px;
    opacity: 1;
    border-top-color: #eee;
}

.solestra-time-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px 8px;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.solestra-time-panel-header svg {
    flex-shrink: 0;
    stroke: #666;
}

.solestra-time-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 24px 24px;
}

/* ─── Time Pills ─────────────────────────────────────────── */

.solestra-time-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-out;
    font-family: inherit;
    letter-spacing: 0.05em;
}

.solestra-time-pill:hover {
    border-color: #000;
    background: #f5f5f5;
}

.solestra-time-pill--selected {
    background: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.solestra-time-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px;
    color: #999;
    font-size: 13px;
    font-style: italic;
    width: 100%;
}

.solestra-time-empty svg {
    flex-shrink: 0;
    stroke: #ccc;
}

/* ─── Steps ──────────────────────────────────────────────── */

.solestra-booking-step {
    margin: 0;
    padding: 20px 24px;
    border-top: 1px solid #eee;
}

.solestra-booking-step h4 {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    margin: 0 0 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ─── Confirm Modal Overlay ──────────────────────────────── */

.solestra-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.solestra-confirm-overlay--visible {
    background: rgba(0, 0, 0, 0.65);
}

.solestra-confirm-modal {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solestra-confirm-overlay--visible .solestra-confirm-modal {
    transform: translateY(0);
    opacity: 1;
}

.solestra-confirm-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid #ddd;
    color: #666;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s ease-out;
    padding: 0;
    z-index: 2;
}

.solestra-confirm-modal-close:hover {
    border-color: #000;
    color: #000;
}

/* ─── Confirm Card ───────────────────────────────────────── */

.solestra-confirm-card {
    padding: 32px 28px 28px;
}

.solestra-confirm-card h4 {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.solestra-booking-summary {
    background: #fafafa;
    border: 1px solid #eee;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.solestra-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.solestra-summary-row:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.solestra-summary-label {
    font-size: 11px;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.solestra-summary-value {
    font-size: 13px;
    color: #000;
    font-weight: 600;
}

/* Notes */
.solestra-booking-notes {
    margin-bottom: 20px;
}

.solestra-booking-notes label {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.solestra-booking-notes textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 13px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease-out;
    box-sizing: border-box;
    color: #000;
}

.solestra-booking-notes textarea:focus {
    border-color: #000;
    outline: none;
}

/* Confirm Button */
.solestra-confirm-booking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 20px 32px;
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.solestra-confirm-booking:hover {
    background-color: #2e2e2e !important;
}

.solestra-confirm-booking:active {
    background-color: #1a1a1a !important;
}

.solestra-confirm-booking:disabled,
.solestra-confirm-booking.solestra-btn-loading {
    opacity: 0.5;
    cursor: not-allowed;
}

.solestra-confirm-booking svg {
    flex-shrink: 0;
}

/* ─── Success ────────────────────────────────────────────── */

.solestra-booking-success {
    text-align: center;
    padding: 48px 28px;
    background: #fff;
    border: 1px solid #eee;
}

.solestra-success-icon {
    width: 56px;
    height: 56px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: solestra-success-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes solestra-success-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.solestra-booking-success h4 {
    color: #000;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.solestra-success-message {
    color: #444;
    font-size: 13px;
    margin: 0 0 4px;
    line-height: 1.6;
}

.solestra-success-details {
    color: #888;
    font-size: 12px;
    margin: 0;
    letter-spacing: 0.05em;
}

/* ─── Login Notice ───────────────────────────────────────── */

.solestra-rental-login-notice {
    padding: 32px 24px;
    background: #fafafa;
    border: 1px solid #eee;
    text-align: center;
    margin: 20px 0;
}

.solestra-rental-login-notice p {
    margin: 0 0 16px;
    color: #666;
    font-size: 13px;
}

.solestra-rental-login-notice .button {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 0;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-out;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.solestra-rental-login-notice .button:hover {
    background-color: #2e2e2e;
    color: #fff;
}

/* ─── Verification ───────────────────────────────────────── */

.solestra-verify-info {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.6;
}

.solestra-verify-phone-row,
.solestra-verify-code-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.solestra-verify-phone-row label,
.solestra-verify-code-row label {
    font-size: 11px;
    font-weight: 600;
    color: #000;
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.solestra-verify-phone-row input,
.solestra-verify-code-row input {
    flex: 1;
    min-width: 150px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease-out;
    color: #000;
}

.solestra-verify-phone-row input:focus,
.solestra-verify-code-row input:focus {
    border-color: #000;
    outline: none;
}

#solestra-verify-code {
    letter-spacing: 6px;
    font-size: 18px;
    text-align: center;
    max-width: 160px;
    font-weight: 700;
}

.solestra-send-code,
.solestra-verify-btn {
    white-space: nowrap;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
}

.solestra-send-code:hover,
.solestra-verify-btn:hover {
    background-color: #2e2e2e;
}

.solestra-verify-phone-msg,
.solestra-verify-code-msg {
    font-size: 12px;
    margin: 4px 0 8px;
    padding: 0;
}

/* ─── Verification Options ───────────────────────────────── */

.solestra-verify-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solestra-verify-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease-out;
    font-family: inherit;
}

.solestra-verify-option:hover {
    border-color: #000;
    background: #fafafa;
}

.solestra-verify-option.selected {
    border-color: #000;
    background: #fafafa;
}

.solestra-verify-option-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.solestra-verify-option-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.solestra-verify-option-text strong {
    font-size: 13px;
    color: #000;
    font-weight: 600;
}

.solestra-verify-option-text span {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* ─── Existing Appointment Dialog ────────────────────────── */

.solestra-existing-dialog {
    margin: 0;
    padding: 20px 24px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.solestra-existing-dialog-title {
    font-size: 11px;
    font-weight: 700;
    color: #000;
    margin: 0 0 14px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.solestra-existing-appointments-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.solestra-existing-appointment-card {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.solestra-existing-appointment-card:hover {
    border-color: #000;
}

.solestra-existing-appointment-card.selected {
    border-color: #000;
    background: #fff;
}

.solestra-existing-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.solestra-existing-card-info strong {
    font-size: 13px;
    color: #000;
}

.solestra-existing-card-info span {
    font-size: 12px;
    color: #888;
}

.solestra-existing-card-status {
    font-size: 10px;
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.solestra-existing-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.solestra-existing-actions .button {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 0;
    min-width: 120px;
    transition: all 0.2s ease-out;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.solestra-update-existing {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
}

.solestra-update-existing:hover {
    background-color: #2e2e2e !important;
}

.solestra-create-new {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
}

.solestra-create-new:hover {
    background: #f5f5f5 !important;
}

.solestra-existing-msg {
    font-size: 12px;
    margin-top: 8px;
}

/* ─── Aktif Randevular Listesi ────────────────────────────── */

.solestra-active-appointments-container {
    margin: 0;
    padding: 14px 24px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.solestra-active-appointments-label {
    font-size: 9px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.solestra-active-appointments-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.solestra-active-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 3px solid #000;
    transition: border-color 0.2s;
}

.solestra-active-card-inner .solestra-status-approved {
    border-left-color: #16a34a;
}

.solestra-active-card-inner[data-apt-id] .solestra-status-approved ~ .solestra-active-card-inner {
    border-left-color: #16a34a;
}

.solestra-active-card-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.solestra-active-card-datetime {
    font-size: 13px;
    font-weight: 600;
    color: #000;
}

.solestra-active-card-product {
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.solestra-active-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.solestra-active-card-status {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 0;
}

.solestra-status-approved {
    background: #dcfce7;
    color: #16a34a;
}

.solestra-status-pending {
    background: #fef9c3;
    color: #a16207;
}

.solestra-cancel-apt-btn {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #dc2626;
    background: transparent;
    border: 1px solid #dc2626;
    padding: 4px 10px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0;
    line-height: 1.4;
}

.solestra-cancel-apt-btn:hover {
    background: #dc2626;
    color: #fff;
}

.solestra-cancel-apt-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── Responsive ─────────────────────────────────────────── */

@media (max-width: 520px) {
    .solestra-booking-wrapper {
        max-width: 100%;
    }

    .solestra-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .solestra-modal {
        max-width: 100%;
        max-height: 95vh;
    }

    .solestra-confirm-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .solestra-confirm-modal {
        max-width: 100%;
    }

    .solestra-active-card-inner {
        flex-wrap: wrap;
    }

    .solestra-active-card-actions {
        width: 100%;
        justify-content: space-between;
        margin-top: 4px;
        padding-top: 8px;
        border-top: 1px solid #f0f0f0;
    }

    .solestra-week-strip {
        padding: 12px 6px 16px;
    }

    .solestra-day-card {
        padding: 10px 2px 8px;
        margin: 0 1px;
    }

    .solestra-day-name {
        font-size: 8px;
    }

    .solestra-day-num {
        font-size: 16px;
    }

    .solestra-day-month {
        font-size: 8px;
    }

    .solestra-time-pill {
        min-width: 62px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .solestra-confirm-card {
        padding: 24px 20px 20px;
    }

    .solestra-progress-dot {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .solestra-progress-step span {
        font-size: 8px;
    }

    .solestra-progress-track {
        top: 32px;
        left: 30px;
        right: 30px;
    }

    .solestra-time-grid {
        padding: 8px 16px 20px;
    }

    .solestra-time-panel-header {
        padding: 12px 16px 6px;
    }

    .solestra-modal-header {
        flex-wrap: wrap;
        padding: 16px 20px;
    }

    .solestra-modal-header .solestra-booking-meta {
        width: 100%;
        order: 3;
        margin-top: 4px;
    }

    .solestra-booking-trigger {
        padding: 18px 24px;
    }

    .solestra-calendar-header {
        padding: 12px 14px;
    }

    .solestra-cal-week-title {
        font-size: 10px;
    }

    .solestra-active-appointment-card {
        padding: 12px 16px;
    }

    .solestra-active-card-inner {
        padding: 12px 14px;
    }

    .solestra-active-card-details {
        font-size: 11px;
    }
}
