/**
 * Tiger Google Badge — front-end styles.
 *
 * Four design presets share this stylesheet via the .tg-gb-preset{1..4}
 * modifier. The outer .tg-gb-outer flex wrapper controls alignment
 * (left/center/right). Style controls override colors, padding, borders,
 * etc.; the rules below are the resting baseline so the badge looks right
 * without any tuning.
 *
 * @package TigerElements
 */

/* ==========================================
   1. NOTICES
   ========================================== */

.tg-gb-notice {
    padding: 15px;
    border-radius: 6px;
    font-size: 13px;
}
.tg-gb-empty {
    border: 1px dashed #ccc;
    color: #6b7280;
}
.tg-gb-error {
    border: 1px dashed #dc2626;
    background: #fef2f2;
    color: #dc2626;
}

/* ==========================================
   2. OUTER WRAPPER — alignment
   ========================================== */

.tg-gb-outer {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

/* ==========================================
   3. BADGE BASE — shared across all presets
   ========================================== */

.tg-gb-base {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.tg-gb-logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.tg-gb-info {
    display: flex;
    flex-direction: column;
}

.tg-gb-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tg-gb-rating-num {
    font-weight: 800;
    font-size: 19px;
    color: #202124;
}

.tg-gb-stars-row {
    color: #fbbc04;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
}
.tg-gb-stars-row .tg-gb-star.filled { color: #fbbc04; }
.tg-gb-stars-row .tg-gb-star.empty  { color: #e0e0e0; }

.tg-gb-review-count {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
    color: inherit;
}

.tg-gb-btn {
    display: inline-block;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 6px;
    background-color: #1a73e8;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}
.tg-gb-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   4. PRESET 1 — Minimal Badge (floating)
   ========================================== */

.tg-gb-preset1 {
    background: #ffffff;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eeeeee;
}

/* ==========================================
   5. PRESET 2 — Full Business Card
   ========================================== */

.tg-gb-preset2 {
    flex-direction: column;
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    text-align: center;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.tg-gb-preset2 .tg-gb-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}
.tg-gb-preset2 .tg-gb-biz-name {
    font-weight: 800;
    font-size: 21px;
    color: #202124;
    margin-bottom: 5px;
}
.tg-gb-preset2 .tg-gb-rating-row {
    justify-content: center;
}
.tg-gb-preset2 .tg-gb-btn {
    margin-top: 15px;
}

/* ==========================================
   6. PRESET 3 — Compact Pill
   ========================================== */

.tg-gb-preset3 {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 10px;
    border-left: 5px solid #1a73e8;
}
.tg-gb-preset3 .tg-gb-biz-name {
    font-weight: 700;
    font-size: 16px;
    color: #3c4043;
}
.tg-gb-preset3 .tg-gb-btn {
    padding: 6px 14px;
    font-size: 12px;
}

/* ==========================================
   7. PRESET 4 — Dark Professional
   ========================================== */

.tg-gb-preset4 {
    flex-direction: column;
    background: #202124;
    color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    min-width: 280px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.tg-gb-preset4 .tg-gb-biz-name {
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 5px;
}
.tg-gb-preset4 .tg-gb-rating-num {
    color: #ffffff;
}
.tg-gb-preset4 .tg-gb-stars-row,
.tg-gb-preset4 .tg-gb-stars-row .tg-gb-star.filled {
    color: #ffca28;
}
.tg-gb-preset4 .tg-gb-stars-row .tg-gb-star.empty {
    color: #555555;
}
.tg-gb-preset4 .tg-gb-review-count {
    color: #cccccc;
}
.tg-gb-preset4 .tg-gb-rating-row {
    justify-content: center;
}
.tg-gb-preset4 .tg-gb-btn {
    margin-top: 15px;
}
