:root {
    --primary-color: #81bc26;
    --primary-hover: #6a9a1f;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-bg: #ffffff;
    --text-main: #2d3436;
    --text-secondary: #636e72;
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 200px;
    height: auto;
}

.greeting {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.question {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 18px;
}

.rating-scale {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #dfe6e9;
    background: transparent;
    color: var(--text-main);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rating-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.rating-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(129, 188, 38, 0.3);
}

.rating-btn.passed {
    background: #e1f5fe;
    border-color: #b3e5fc;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 40px;
    font-size: 13px;
    color: var(--text-secondary);
}

.feedback-container {
    text-align: left;
    margin-bottom: 30px;
}

.feedback-container label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

textarea {
    width: 100%;
    border: 2px solid #dfe6e9;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    resize: none;
    transition: border-color 0.2s;
    outline: none;
}

textarea:focus {
    border-color: var(--primary-color);
}

#submitBtn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

#submitBtn:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(129, 188, 38, 0.2);
}

#submitBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Thank You Section */
.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleUp {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

#thank-you-container h2 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 10px;
}

#thank-you-container p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

#google-review-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-top: 20px;
    border: 1px dashed #dee2e6;
}

.google-prompt {
    font-size: 15px;
    margin-bottom: 15px !important;
}

.google-btn {
    display: inline-block;
    background: #4285F4;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.google-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

/* Error Section */
.error-icon {
    width: 80px;
    height: 80px;
    background: #ff7675;
    color: white;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.error-container h2 {
    color: #e17055;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 25px;
    }
    .rating-btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}
