/* Anime Survey Form Styles */

body {
    background-image: url('https://cdn.pixabay.com/photo/2024/07/08/05/41/girl-8880144_1280.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

form {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 40px auto;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

label, input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

select {
    display: block;
    width: 50%;
    margin-bottom: 10px;
    padding: 8px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    min-height: 80px;
    resize: vertical;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-family: Arial, sans-serif;
}

input[type="text"],
input[type="email"],
input[type="number"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: 2px solid #4CAF50;
    background: rgba(255, 255, 255, 0.95);
}

h1 {
    text-align: center;
    color: rgb(245, 209, 151);
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

h2 {
    text-align: center;
    color: rgb(255, 240, 217);
    margin: 30px 0 20px 0;
    font-size: 1.5em;
    border-bottom: 2px solid rgba(255, 240, 217, 0.5);
    padding-bottom: 10px;
}

p {
    text-align: center;
    color: rgb(255, 240, 217);
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1em;
}

label {
    color: white;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 16px;
}

input[type="submit"] {
    width: auto;
    background-color: #4CAF50;
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    margin: 30px auto 0 auto;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.radio-item input[type="radio"] {
    width: auto;
    margin-bottom: 0;
    margin-right: 8px;
}

.radio-item label {
    width: auto;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.radio-group {
    margin-bottom: 20px;
}

.radio-group > label {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-bottom: 0;
    margin-right: 8px;
}

.checkbox-item label {
    width: auto;
    margin-bottom: 0;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    form {
        margin: 20px auto;
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    select {
        width: 100%;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    
    form {
        padding: 12px;
    }
    
    input[type="submit"] {
        padding: 12px 25px;
        font-size: 14px;
    }
}