@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2E2E5E; /* Azul escuro do título */
    --secondary-color: #4CAF50; /* Verde do botão */
    --bg-input: #FDF0F5; /* Fundo rosa claro dos inputs */
    --border-input: #E0C0CE; /* Borda rosa mais escuro */
    --text-color: #333;
    --step-bg: #E8F5E9; /* Fundo do número do passo (verde claro) */
    --step-text: #4CAF50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: white;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Cabeçalhos das Seções */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.step-number {
    background-color: var(--step-bg);
    color: var(--step-text);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
}

h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
}

.section {
    margin-bottom: 30px;
}

/* Inputs e Labels */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid transparent;
    background-color: var(--bg-input);
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    outline: none;
    transition: 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--border-input);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(224, 192, 206, 0.2);
}

textarea {
    height: 120px;
    resize: none;
}

/* Custom Dropdown Styles */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    font-size: 14px;
    color: #555;
    background-color: var(--bg-input);
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: 0.3s;
}

.custom-select.open .custom-select__trigger {
    border-color: var(--border-input);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 0;
    background: #fff; /* Fundo branco para as opções como na imagem */
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.custom-option:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.custom-option:hover {
    background-color: var(--bg-input);
    color: var(--primary-color);
}

.custom-option.selected {
    background-color: var(--bg-input);
    color: var(--primary-color);
    font-weight: 500;
}

.custom-option i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #777; /* Cor dos ícones */
}

/* Footer e Botão */
.form-footer {
    text-align: center;
    margin-top: 10px;
}

.form-footer p {
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
}

button {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--secondary-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

button:hover {
    background-color: #43a047;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

/* Responsivo */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
}