* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.header {
    background: #2c3e50;
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.header p {
    opacity: 0.85;
    font-size: 16px;
}

.form-container {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: #3498db;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #34495e;
    font-size: 15px;
}

.input-group label span {
    color: #e74c3c;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.input-group textarea {
    resize: vertical;
    min-height: 100px;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.input-group input.invalid {
    border-color: #e74c3c;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-option input {
    margin: 0;
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.radio-option label {
    margin: 0;
    cursor: pointer;
}

/* Estilos para o campo de arquivo */
.input-group input[type="file"] {
    padding: 12px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
}

.input-group input[type="file"]:focus {
    border-color: #3498db;
    background: #f0f8ff;
}

.file-info {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 5px;
    font-style: italic;
}

/* Estilos para o checkbox */
.checkbox-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-top: 10px;
}

.checkbox-option input {
    margin: 0;
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-option label {
    margin: 0;
    cursor: pointer;
    line-height: 1.4;
    font-weight: 500;
    color: #34495e;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.required-info {
    color: #7f8c8d;
    font-size: 14px;
}

.required-info span {
    color: #e74c3c;
}

.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit {
    background: #3498db;
    color: white;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
}

.btn-submit:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(52, 152, 219, 0.4);
}

.btn-reset {
    background: #ecf0f1;
    color: #7f8c8d;
    margin-right: 12px;
}

.btn-reset:hover {
    background: #bdc3c7;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        gap: 15px;
    }

    .btn-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .checkbox-option {
        align-items: flex-start;
    }

    .checkbox-option label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 20px 15px;
    }

    .header {
        padding: 20px;
    }

    .btn-container {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
    }

    .checkbox-option {
        align-items: flex-start;
    }

    .checkbox-option label {
        font-size: 13px;
    }
}