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

:root {
    --primary: #e97b1b;
    --primary-hover: #924404;
    --bg-gradient-start: #EEF2FF;
    --bg-gradient-end: #C7D2FE;
    --card-bg: rgba(255, 255, 255, 0.589);
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --success: #10B981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    min-height: 100vh;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.logos-container.header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    width: 100%;
}

.logos-container.header img {
    margin-top: 1rem;
    height: 180px;
    max-width: 100%;
    object-fit: contain;
}

.survey-container {
    background: #F9FAFB;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 10px 10px -5px rgba(0, 0, 0, 0.14);
    width: 100%;
    max-width: 850px;
    padding: 3.5rem 2.5rem;
    border: 1px solid #E5E7EB;
}

.survey-header {
    text-align: center;
    margin-bottom: 3rem;
}

.survey-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.survey-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label.question-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #374151;
}

.input-text {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.input-text:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Rate Container (1-10) */
.rate-container {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.rate-option {
    position: relative;
    flex: 1;
}

.rate-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.rate-label {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.5rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    background: #fff;
}

.rate-label:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: translateY(-2px);
}

.rate-option input[type="radio"]:checked~.rate-label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
    transform: translateY(-2px);
}

.submit-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2), 0 2px 4px -1px rgba(79, 70, 229, 0.1);
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3), 0 4px 6px -2px rgba(79, 70, 229, 0.15);
}

.footer-credits {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    width: 100%;
    max-width: 850px;
}

.logos-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.logos-footer img {
    height: 60px;
    object-fit: contain;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease-out forwards;
}

.success-message h2 {
    color: #111827;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-muted);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .rate-container {
        flex-wrap: wrap;
    }

    .rate-option {
        flex: 1 0 18%;
        /* about 5 items per row */
    }

    .survey-container {
        padding: 2rem 1.5rem;
    }
}