* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333333;
    line-height: 1.6;
    padding: 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.form-title {
    margin-bottom: 15px;
    font-weight: 600;
    color: #222222;
    text-align: center;
    font-size: 1.8rem;
}

.form-subtitle {
    margin-bottom: 25px;
    color: #555555;
    text-align: center;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333333;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: calc(8px / 2);
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    color: #333333;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.submit-button {
    background-color: #4a6cf7;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: calc(8px / 2);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background-color: darken(#4a6cf7, 10%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#form-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: calc(8px / 2);
    text-align: center;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
    }
}