body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: url('{{ url("img/Austronat.jpg") }}') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    box-sizing: border-box;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.popup-content {
    margin: 0 auto;
    max-width: 1100px;
    width: 95%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease-in-out;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HEADER */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 12px;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.form-section h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: rgb(134, 46, 46);
    border-bottom: 3px solid rgb(134, 46, 46);
    display: inline-block;
    padding-bottom: 5px;
}

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

.input-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    color: #333;
}

.input-field {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

.input-field:focus {
    border-color: rgb(134, 46, 46);
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
    outline: none;
}

/* RESPONSÁVEIS */
.parent-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.parent {
    flex: 1 1 320px;
    /* natural size but flexible */
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #eee;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.parent h5 {
    margin: 0 0 15px;
    font-size: 19px;
    font-weight: 700;
    color: rgb(134, 46, 46);
    text-align: center;
}

/* ALERTAS */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/* BOTÃO */
.submit-button-container {
    text-align: center;
    margin-top: 20px;
}

.submit-button {
    background: rgb(134, 46, 46);
    color: white;
    font-size: 18px;
    padding: 14px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 5px 12px rgba(0, 123, 255, 0.3);
}

.submit-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* BOTÃO FECHAR */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff7675;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: #d63031;
}