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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.fish-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label:first-of-type {
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.form-group input[type="text"] {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.radio-group,
.color-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-item,
.color-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input[type="radio"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.form-group label[for^="design"],
.form-group label[for^="color"] {
    cursor: pointer;
    user-select: none;
    font-size: 1em;
    color: #555;
    font-weight: 500;
}

.color-label {
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1.05em;
}

.col1-label {
    color: #d63031;
}

.col2-label {
    color: #27ae60;
}

.col3-label {
    color: #2980b9;
}

input[type="radio"]:checked + label {
    transform: scale(1.05);
}

.red-label:has(+ input[type="radio"]:checked) {
    background-color: rgba(214, 48, 49, 0.1);
}

.green-label:has(+ input[type="radio"]:checked) {
    background-color: rgba(39, 174, 96, 0.1);
}

.blue-label:has(+ input[type="radio"]:checked) {
    background-color: rgba(41, 128, 185, 0.1);
}

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

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

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

.status-message {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    min-height: 24px;
    display: none;
}

.status-message:not(:empty) {
    display: block;
}

.status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-message.loading {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@media (max-width: 600px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .color-group,
    .radio-group {
        gap: 8px;
    }
}
