/* GastroHubs Reviews - modal del cliente (mobile-first) */

.ghr-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity .25s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}
.ghr-overlay.active { opacity: 1; }

.ghr-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 28px 22px 26px;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, .25);
    transform: translateY(40px);
    transition: transform .28s cubic-bezier(.16, 1, .3, 1);
    text-align: center;
}
.ghr-overlay.active .ghr-box { transform: translateY(0); }

@media (min-width: 600px) {
    .ghr-overlay { align-items: center; }
    .ghr-box { border-radius: 20px; }
}

.ghr-x {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
}
.ghr-x:hover { color: #475569; }

.ghr-title {
    font-size: 19px;
    font-weight: 700;
    color: #1e293b;
    margin: 6px 0 4px;
    line-height: 1.3;
}
.ghr-sub {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 16px;
}

/* Estrellas */
.ghr-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 18px;
}
.ghr-star {
    border: 0;
    background: transparent;
    font-size: 42px;
    line-height: 1;
    color: #e2e8f0;
    cursor: pointer;
    padding: 0;
    transition: transform .12s ease, color .12s ease;
}
.ghr-star:hover { transform: scale(1.12); }
.ghr-star.on { color: #fbbf24; }

.ghr-stars-static { gap: 4px; margin: 0 0 10px; }
.ghr-stars-static .ghr-star { font-size: 26px; cursor: default; }

/* Inputs feedback negativo */
.ghr-input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    margin-bottom: 12px;
    font-family: inherit;
    color: #1e293b;
    resize: vertical;
}
.ghr-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .15);
}

/* Botones */
.ghr-send,
.ghr-google-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    border: 0;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.ghr-send {
    background: #6366f1;
    color: #fff;
}
.ghr-send:hover { background: #4f46e5; }
.ghr-send:disabled { opacity: .6; cursor: default; }

.ghr-google-btn {
    background: #1a73e8;
    color: #fff;
    margin: 8px 0 6px;
}
.ghr-google-btn:hover { background: #1765cc; }
.ghr-google-btn .ghr-g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #1a73e8;
    font-weight: 800;
    font-size: 14px;
}

.ghr-later {
    display: inline-block;
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}
.ghr-later:hover { color: #64748b; }

.ghr-emoji {
    font-size: 52px;
    line-height: 1;
    margin-bottom: 6px;
}
