/* GMB Review Filter - Public Styles (2026 Premium) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --gmb-brand: var(--gmb-custom-primary, #4285f4);
    --gmb-brand-grad: linear-gradient(135deg, var(--gmb-brand) 0%, #34a853 100%);
    --gmb-text-main: #1f1f1f;
    --gmb-text-sec: #5f6368;
}

.gmb-rf-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    font-family: 'Inter', sans-serif;
    text-align: center;
    position: relative;
}

.gmb-rf-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gmb-text-main);
    margin-bottom: 12px;
}

.gmb-rf-wrapper p {
    color: var(--gmb-text-sec);
    font-size: 15px;
    margin-bottom: 30px;
}

/* Stars Styling */
.gmb-rf-stars {
    font-size: 48px;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.gmb-rf-star {
    cursor: pointer;
    color: #e0e0e0;
    transition: all 0.2s ease;
}

.gmb-rf-star:hover,
.gmb-rf-star.active {
    color: var(--gmb-custom-star, #fbbc05);
    transform: scale(1.15) rotate(5deg);
}

/* Form Styling */
.gmb-rf-form-group {
    text-align: left;
    margin-bottom: 20px;
}

.gmb-rf-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gmb-text-main);
    margin-bottom: 8px;
}

.gmb-rf-feedback-form input[type="text"],
.gmb-rf-feedback-form input[type="email"],
.gmb-rf-feedback-form input[type="tel"],
.gmb-rf-feedback-form textarea,
.gmb-rf-file-input {
    width: 100%;
    max-width: 100% !important;
    padding: 14px 18px;
    border-radius: 12px !important;
    border: 1px solid #e0e0e0;
    background: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

/* Fix for intl-tel-input (phone field) */
.iti {
    width: 100%;
}
.iti__flag-container {
    border-radius: 12px 0 0 12px;
}

.gmb-rf-feedback-form input:focus,
.gmb-rf-feedback-form input[type="tel"]:focus,
.gmb-rf-feedback-form textarea:focus {
    outline: none;
    border-color: var(--gmb-brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.05);
}

.gmb-rf-feedback-form textarea {
    min-height: 100px;
    resize: vertical;
}

.gmb-rf-submit {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    background: var(--gmb-brand);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.gmb-rf-submit:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Redirection Stage */
.gmb-rf-loader-bar {
    height: 6px;
    width: 100%;
    background: #f0f0f0;
    border-radius: 10px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

.gmb-rf-loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: var(--gmb-brand);
    border-radius: 10px;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { left: -40%; width: 40%; }
    50% { left: 40%; width: 60%; }
    100% { left: 100%; width: 40%; }
}

/* Notifications */
.gmb-rf-notification {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    animation: slideUp 0.4s ease forwards;
}

.gmb-rf-notification.success {
    background: rgba(52, 168, 83, 0.15);
    color: #1e8e3e;
    border: 1px solid rgba(52, 168, 83, 0.2);
}

.gmb-rf-notification.error {
    background: rgba(234, 67, 53, 0.15);
    color: #d93025;
    border: 1px solid rgba(234, 67, 53, 0.2);
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
