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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #667eea;
}

header h1 {
    font-size: 2em;
    color: #667eea;
    margin-bottom: 10px;
}

header h2 {
    font-size: 1.3em;
    color: #555;
    font-weight: 500;
}

.info-box {
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.info-box p {
    margin-bottom: 10px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.voting-instructions {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.voting-instructions p {
    margin-bottom: 8px;
}

.voting-instructions p:last-child {
    margin-bottom: 0;
}

.voter-info {
    margin-bottom: 30px;
}

.voter-info label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1em;
}

.voter-info input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.voter-info input:focus {
    outline: none;
    border-color: #667eea;
}

.films-section h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.film-option {
    background: #fafafa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.film-option:hover {
    background: #f0f0ff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.film-option input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.film-option label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.film-title {
    font-weight: 600;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 5px;
}

.film-description {
    color: #666;
    font-size: 0.95em;
    font-style: italic;
}

.comments-section {
    margin: 30px 0;
}

.comments-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1em;
}

.comments-section textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.comments-section textarea:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.2em;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.view-results {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.results-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s;
}

.results-link:hover {
    background: #f0f0ff;
}

.success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
}

.error-message {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    header h1 {
        font-size: 1.5em;
    }

    header h2 {
        font-size: 1.1em;
    }

    .film-title {
        font-size: 1em;
    }

    .film-description {
        font-size: 0.9em;
    }

    .submit-btn {
        font-size: 1.1em;
        padding: 14px;
    }
}
