
    :root {
        --g-blue: #1a73e8;
        --g-border: #dadce0;
        --g-star: #fbbc04;
        --g-text: #3c4043;
        --g-error: #d93025;
    }

    .review-overlay {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.6);
        display: flex; align-items: center; justify-content: center;
        z-index: 9999;
        font-family: 'Roboto', sans-serif;
    }

    .google-card {
        background: #fff;
        width: 100%;
        margin-top:25px;
        max-width: 520px;
        border-radius: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        overflow: hidden;
        position: relative;
        transition: all 0.3s ease;
    }

    .card-content { padding: 24px; }

    /* Success State Styling */
    .success-wizard {
        text-align: center;
        padding: 40px 20px;
        animation: fadeIn 0.5s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .success-wizard i {
        font-size: 48px;
        color: #0f9d58;
        margin-bottom: 16px;
    }
    .success-wizard h2 { font-size: 22px; margin-bottom: 8px; color: var(--g-text); }
    .success-wizard p { color: #5f6368; margin-bottom: 24px; }

    /* Thank you message overlay */
    .thankyou-message {
        position: fixed;
        top: 20px;
        right: 20px;
        background: #0f9d58;
        color: white;
        padding: 12px 24px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 10000;
        animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    @keyframes slideIn {
        from { transform: translateX(100%); opacity: 0; }
        to { transform: translateX(0); opacity: 1; }
    }
    
    @keyframes fadeOut {
        from { opacity: 1; }
        to { opacity: 0; visibility: hidden; }
    }

    /* Centered Header */
    .business-info {
        display: flex; flex-direction: column; align-items: center;
        margin-bottom: 20px;
    }
    .business-info img { height: 24px; margin-bottom: 8px; }
    .business-name { font-size: 16px; font-weight: 500; color: #202124; }

    /* Form Fields */
    .input-row { display: flex; gap: 10px; margin-bottom: 12px; }
    .g-field {
        flex: 1; border: 1px solid var(--g-border);
        border-radius: 4px; padding: 12px; font-size: 14px; outline: none;
    }
    .g-field:focus { border: 2px solid var(--g-blue); padding: 11px; }

    .star-rating {
        display: flex; justify-content: center; flex-direction: row-reverse;
        margin: 20px 0;
    }
    .star-rating input { display: none; }
    .star-rating label { cursor: pointer; width: 42px; fill: #dadce0; padding: 0 2px; transition: fill 0.2s ease; }
    .star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label {
        fill: var(--g-star);
    }
    
    .rating-error {
        color: var(--g-error);
        font-size: 12px;
        text-align: center;
        margin-top: -15px;
        margin-bottom: 10px;
        display: none;
    }
    .rating-error.show {
        display: block;
    }

    .review-textarea {
        width: 100%; border: 1px solid var(--g-border); border-radius: 4px;
        padding: 12px; font-size: 14px; min-height: 100px; resize: none; outline: none;
        margin-bottom: 15px;
    }

    .photo-btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        width: 100%; padding: 10px; border: 1px solid var(--g-border);
        border-radius: 4px; background: #fff; color: var(--g-blue);
        font-weight: 500; cursor: pointer; font-size: 14px;
        transition: background 0.2s ease;
    }
    .photo-btn:hover {
        background: #f8f9fa;
    }

    #file-status { font-size: 12px; color: #5f6368; text-align: center; margin-top: 8px; }

    .google-footer {
        display: flex; justify-content: flex-end; gap: 8px;
        padding: 16px 24px; background: #fff; border-top: 1px solid #eee;
    }

    .btn { padding: 10px 24px; font-size: 14px; font-weight: 500; border-radius: 4px; border: none; cursor: pointer; transition: all 0.2s ease; }
    .btn-cancel { background: transparent; color: var(--g-blue); }
    .btn-cancel:hover { background: #f8f9fa; }
    .btn-post { background: #f1f3f4; color: #bdc1c6; cursor: not-allowed; }
    .btn-post.active { background: var(--g-blue); color: #fff; cursor: pointer; }
    .btn-post.active:hover { background: #1557b0; }
    
    .btn-post.loading { pointer-events: none; opacity: 0.7; }
    
    /* Hide/show form sections */
    .form-section { display: block; }
    .success-section { display: none; }
    .form-section.hide { display: none; }
    .success-section.show { display: block; }

