:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --background-color: #f3f4f6;
    --card-background: #ffffff;
    --star-color: #e5e7eb;
    --star-active: #fbbf24;
    --error-color: #ef4444;
    --success-color: #22c55e;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 15vh;
}

.review-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 2rem;
    width: 600px;
    max-width: 100%;
}

h1 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stars-container {
    text-align: center;
    margin-bottom: 2rem;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.star {
    font-size: 2.5rem;
    color: var(--star-color);
    cursor: pointer;
    transition: color 0.2s ease;
}

.star:hover,
.star.active {
    color: var(--star-active);
}

.stars.disabled .star {
    pointer-events: none;
    color: var(--star-color);
    cursor: default;
}

.stars.disabled .star:hover,
.stars.disabled .star.active {
    color: var(--star-color) !important;
}

.rating-text {
    color: #6b7280;
    font-size: 0.875rem;
}

.hidden {
    display: none;
}

textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-family: inherit;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #1d4ed8;
}

.review-platforms {
    margin-top: 2rem;
}

.main-platform {
    margin-bottom: 1rem;
}

.secondary-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.platform-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    background-color: #f8fafc;
    height: 60px; /* Base height for secondary buttons */
}

.main-platform .platform-link {
    width: 100%;
    height: 90px; /* 50% taller than other buttons */
}

.secondary-platforms .platform-link {
    height: 70px; /* Taller height for secondary buttons */
    padding: 0.75rem 1.25rem; /* Add padding to prevent logos from touching edges */
}

.platform-link:hover {
    background-color: #f1f5f9;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 0.05);
}

.platform-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0 0.75rem;
}

.platform-link span {
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        padding-top: 10vh;
    }

    .review-card {
        padding: 1.5rem;
        width: 600px;
        max-width: 100%;
    }
    
    h1 {
        font-size: 1.5rem;
    }

    .star {
        font-size: 2rem;
    }

    .review-platforms {
        margin-top: 1.5rem;
    }
    
    .secondary-platforms {
        gap: 0.75rem;
    }

    .platform-link {
        height: 50px; /* Base height for mobile */
        padding: 0 1rem;
    }

    .secondary-platforms .platform-link {
        height: 60px; /* Taller height for secondary buttons on mobile */
        padding: 0.5rem 1rem; /* Slightly reduced padding for mobile */
    }

    .main-platform .platform-link {
        height: 75px; /* 50% taller than other buttons on mobile */
    }
}

.hotel-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.hotel-logo img {
    max-width: 200px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.stars-container .submit-rating-btn {
    margin-top: 16px;
}


.submit-rating-btn {
    margin-top: 0;
} 