:root {
    --color-primary: #4B69FD;
    --color-secondary: #FFF9EB;
    --color-tertiary: #C4C4C4;
    --color-button: #fe652b;
    --color-button-hover: #e55720;
    --color-text: #444444;
    --color-white: #FFFFFF;
}

/* Estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

/* Banner */
.header-banner {
    flex: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0 0;
}

/* Seção de entrada */
.input-section {
    flex: 60%;
    background-color: var(--color-secondary);
    border: 1px solid #000;
    border-radius: 64px 64px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
}

/* Títulos */
.main-title {
    font-size: 48px;
    font-family: "Merriweather", serif;
    font-weight: 900;
    font-style: italic;
    color: var(--color-white);
}

.section-title {
    font-family: "Inter", serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 10px 0;
    text-align: center;
}

/* Contêineres de entrada e botão */
.input-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.input-name {
    width: 100%;
    padding: 10px;
    border: 2px solid #000;
    border-radius: 25px 0 0 25px;
    font-size: 16px;
}

.button-container {
    width: 300px;
    justify-content: center;
}

/* Estilos de entrada de texto */
.input-title {
    flex: 1;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #333;
    border-right: none;
    border-radius: 25px 0 0 25px;
    font-family: "Merriweather", serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Estilos de botão */
button {
    padding: 15px 30px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    border: 2px solid #000;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.button-add {
    background-color: var(--color-tertiary);
    color: var(--color-text);
    border-radius: 0 25px 25px 0;
}

.button-add:hover {
    background-color: #a1a1a1;
}

/* Listas */
ul {
    list-style-type: none;
    color: var(--color-text);
    font-family: "Inter", sans-serif;
    font-size: 18px;
    margin: 20px 0;
}

.result-list {
    margin-top: 15px;
    color: #05DF05;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

/* Botão de sortear título */
.button-draw {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 40px;
    color: var(--color-white);
    background-color: var(--color-button);
    font-size: 16px;
}

.button-draw img {
    margin-right: 40px;
}

.button-draw:hover {
    background-color: var(--color-button-hover);
}


/* Estilo para o seletor de gênero */
.gender-select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    background-color: white;
    cursor: pointer;
}

/* Ajuste no container de input para acomodar o novo elemento */
.input-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Estilo para o container de resultado */
.result-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}

/* Estilo para o botão Limpar Lista */
.button-clear {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background-color: #f44336;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-clear:hover {
    background-color: #d32f2f;
}

/* Responsividade */
@media (max-width: 600px) {
    .input-wrapper {
        flex-direction: column;
    }
    
    .input-name, 
    .gender-select, 
    .button-add,
    .button-clear {
        width: 100%;
    }
}

/* Estilos existentes (mantidos da versão original) */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.header-banner {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    color: #333;
}

.input-section {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #444;
}

.input-name {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    flex-grow: 1;
    font-family: 'Inter', sans-serif;
}

.button-add {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background-color: #4CAF50;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-add:hover {
    background-color: #388E3C;
}

.name-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.name-list li {
    padding: 10px;
    background-color: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.button-draw {
    padding: 15px 30px;
    border-radius: 8px;
    border: none;
    background-color: #2196F3;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.button-draw:hover {
    background-color: #1976D2;
}

.button-draw img {
    width: 20px;
    height: 20px;
}

.result-name {
    font-size: 1.5rem;
    color: #2196F3;
    margin-top: 10px;
}
/* Adicione estes novos estilos */
.list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 5px;
}

.remove-btn {
    background: none;
    border: none;
    color: #f44336;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.remove-btn:hover {
    background-color: #ffebee;
}

.remove-btn:focus {
    outline: none;
    background-color: #ffcdd2;
}
