/* ============================= */
/* === FORMULÁRIO CUSTOMIZADO === */
/* ============================= */

.form-container {
    max-width: 1000px;
    margin: 60px auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 40px 30px;
    font-family: "Poppins", sans-serif;
    color: #222;
    position: relative;
    z-index: 1;
}

.form-container h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #222;
}

/* ============================= */
/* === LAYOUT DE COLUNAS === */
/* ============================= */

.form-container form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Para campos que precisam ocupar a largura total */
.form-group.full-width {
    grid-column: 1 / -1;
}

/* ============================= */
/* === GRUPOS DE CAMPOS === */
/* ============================= */

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    color: #333;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #5e60ce;
    box-shadow: 0 0 0 3px rgba(94, 96, 206, 0.15);
    outline: none;
    background-color: #fdfdfd;
}

/* ============================= */
/* === SELECT AJUSTADO === */
/* ============================= */

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%235e60ce' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* ============================= */
/* === BOTÃO DE ENVIO === */
/* ============================= */

.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #5e60ce, #7400b8);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 6px 16px rgba(94, 96, 206, 0.2);
}

.submit-btn:hover {
    background: linear-gradient(to right, #7400b8, #5e60ce);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 96, 206, 0.3);
}

/* ============================= */
/* === HOVER INTERAÇÃO === */
/* ============================= */

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    background-color: #f9f9f9;
}

/* ============================= */
/* === RESPONSIVO === */
/* ============================= */

@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    .form-container form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }

    .submit-btn {
        font-size: 15px;
        padding: 12px;
    }
}

/* ============================= */
/* === BOTÃO PADRÃO === */
/* ============================= */

.mkr-botao {
    display: inline-block;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #5e60ce, #7400b8);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 6px 16px rgba(94, 96, 206, 0.2);
}

.mkr-botao:hover {
    background: linear-gradient(to right, #7400b8, #5e60ce);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 96, 206, 0.3);
}
