/* ============================================================
   Tandoori Location Manager — Public Card Styles
   ============================================================ */

.tlm-card {
    --tlm-accent:    #4285F4;
    --tlm-text:      #212121;
    --tlm-muted:     #757575;
    --tlm-border:    #E0E0E0;
    --tlm-radius:    12px;
    --tlm-shadow:    0 4px 20px rgba(0,0,0,0.10);

    width: auto;
    max-width: 520px;
    background: #ffffff;
    border-radius: var(--tlm-radius);
    box-shadow: var(--tlm-shadow);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: 1px solid var(--tlm-border);
}

/* Map */
.tlm-map {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}
.tlm-map iframe {
    width: 100% !important;
    height: 260px !important;
    display: block;
    border: none !important;
}

/* Body */
.tlm-body {
    padding: 20px 22px 24px;
}

/* Name */
.tlm-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--tlm-text);
    margin: 0 0 10px;
    line-height: 1.3;
    text-align: center;
}

/* Rating */
.tlm-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 14px;
}
.tlm-stars { display: inline-flex; gap: 1px; }
.tlm-star  { font-size: 18px; line-height: 1; }
.tlm-star-full  { color: #FFA000; }
.tlm-star-half  { color: #FFA000; opacity: 0.7; }
.tlm-star-empty { color: #BDBDBD; }
.tlm-rating-num  { font-weight: 700; font-size: 15px; color: var(--tlm-text); }
.tlm-review-count { font-size: 13px; color: var(--tlm-muted); }

/* Info rows */
.tlm-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--tlm-text);
    line-height: 1.5;
}
.tlm-row a {
    color: var(--tlm-accent);
    text-decoration: none;
}
.tlm-row a:hover { text-decoration: underline; }
.tlm-icon { flex-shrink: 0; font-size: 16px; margin-top: 1px; }

/* Divider */
.tlm-divider {
    border: none;
    border-top: 1px solid var(--tlm-border);
    margin: 14px 0;
}

/* Status */
.tlm-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    margin-bottom: 12px;
}
.tlm-open   { color: #2E7D32; }
.tlm-closed { color: #C62828; }
.tlm-clock-icon { font-size: 16px; }

/* Hours */
.tlm-hours {
    margin-bottom: 16px;
}
.tlm-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    color: var(--tlm-muted);
    border-bottom: 1px solid #F5F5F5;
    gap: 12px;
}
.tlm-hours-row:last-child { border-bottom: none; }
.tlm-hours-row.tlm-today {
    font-weight: 700;
    color: var(--tlm-text);
    background: #FFF3E0;
    margin: 0 -4px;
    padding: 5px 4px;
    border-radius: 4px;
    border-bottom: none;
}
.tlm-day  { min-width: 96px; }
.tlm-time { text-align: right; }

/* Maps button */
.tlm-maps-btn {
    display: block;
    text-align: center;
    background: var(--tlm-accent);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    margin-top: 4px;
}
.tlm-maps-btn:hover {
    background: #1A73E8;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(66,133,244,0.35);
    color: #fff !important;
}

/* Error */
.tlm-error {
    color: #C62828;
    font-style: italic;
    font-size: 13px;
}

/* Dynamic settings from WP options */
/* These are overridden by inline style in shortcode if needed */
