body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.container {
    margin-top: 30px;
    max-width: 800px;
    transition: max-width 0.3s ease;
}

/* Bloco para agrupar os elementos (Card) */
.card {
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Estilos dos campos de input */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #5cb85c;
    box-shadow: 0 0 5px rgba(92, 184, 92, 0.5);
}

.form-group {
    margin-bottom: 15px;
}

/* Botão primário */
.btn-primary {
    background-color: #5cb85c;
    border-color: #5cb85c;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #4cae4c;
    box-shadow: 0 4px 8px rgba(76, 174, 76, 0.2);
}

/* Botão secundário */
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 8px rgba(90, 98, 104, 0.2);
}

/* Estilo dos campos de cor para manter o mesmo visual */
#button_color, #font_color_button, #button_border_color, #page_background_color {
    width: 100px;
    height: 38px;
    padding: 0;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

#button_color:focus, #font_color_button:focus, #button_border_color:focus, #page_background_color:focus {
    border-color: #5cb85c;
    box-shadow: 0 0 5px rgba(92, 184, 92, 0.5);
}

/* Ajustes gerais para inputs de cores */
input[type="color"] {
    cursor: pointer;
}

/* Layout das colunas para a seleção de cor e texto do botão */
.row .col-md-4, .row .col-md-8 {
    padding-left: 5px;
    padding-right: 5px;
}

.form-group .row {
    margin-left: 0;
    margin-right: 0;
}

/* Barra de intervalo (range) personalizada */
.form-control-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.form-control-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: #5cb85c;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-control-range:focus::-webkit-slider-thumb {
    background-color: #4cae4c;
}

/* Sombra em inputs e botões */
input[type="file"], input[type="color"], input[type="text"], textarea, select {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Links de navegação */
.btn-back {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.btn-back:hover {
    background-color: #e2e6ea;
}

/* Estilo para os textos pequenos */
.small {
    font-size: 12px;
    color: #777;
}
