/* =========================================
   Baptism Application Form - Stylesheet
   ========================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #2c3e50;
    min-height: 100vh;
    padding: 20px;
}

.baptism-form {
    max-width: 800px;
    margin: 20px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #1a6fa0;
}

.form-header h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.form-header .subtitle {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.8;
}

.form-header .verse {
    margin-top: 14px;
    font-style: italic;
    color: #1a6fa0;
    font-size: 13px;
    line-height: 1.7;
    border-left: 3px solid #1a6fa0;
    padding-left: 12px;
    text-align: left;
}

/* Info box */
.info-box {
    background-color: #e9f5fb;
    border: 1px solid #b3d9f2;
    border-left: 4px solid #1a6fa0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    color: #2c3e50;
}

.info-box .info-title {
    font-weight: 700;
    color: #1a6fa0;
    margin-bottom: 8px;
    font-size: 15px;
}

.info-box p {
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 6px;
}

.info-box p:last-child { margin-bottom: 0; }

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.alert.success {
    background-color: #d4edda;
    border: 1px solid #b2dfcd;
    color: #155724;
}

.alert.error {
    background-color: #fde8ea;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form groups */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.multilang-label {
    font-size: 12px;
    color: #95a5a6;
    font-weight: 400;
    display: block;
    margin-top: 2px;
    margin-bottom: 6px;
}

.required { color: #e74c3c; }

/* Inputs */
.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid #dce1e7;
    border-radius: 7px;
    font-size: 15px;
    color: #2c3e50;
    background-color: #ffffff;
    transition: border-color 0.25s, box-shadow 0.25s;
    appearance: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1a6fa0;
    box-shadow: 0 0 0 3px rgba(26, 111, 160, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* Radio / Yes-No groups */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #2c3e50;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #1a6fa0;
    cursor: pointer;
}

/* Signature section */
.signature-box {
    background: #f8f9fa;
    border: 2px solid #dce1e7;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.signature-box p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.signature-row {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 16px;
}

/* Submit */
.submit-btn {
    background: linear-gradient(135deg, #1a6fa0, #155e8a);
    color: #ffffff;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 111, 160, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Result card (approve.php) */
.result-card {
    max-width: 620px;
    margin: 60px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    text-align: center;
}

.result-header {
    padding: 36px 30px 24px;
    color: #fff;
}

.result-header .icon { font-size: 52px; line-height: 1; margin-bottom: 12px; }
.result-header h1   { font-size: 24px; margin: 0 0 6px; color: #fff; }
.result-header p    { margin: 0; opacity: 0.85; font-size: 14px; }

.result-body { padding: 28px 30px; }

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    text-align: left;
}

.detail-row:last-child { border-bottom: none; }
.detail-label { font-weight: 600; color: #555; }
.detail-value { color: #222; }

/* Responsive */
@media (max-width: 600px) {
    body { padding: 10px; }
    .baptism-form { padding: 24px 16px; margin: 10px auto; }
    .form-header h1 { font-size: 22px; }
    .radio-group { flex-direction: column; gap: 14px; }
    .signature-row { grid-template-columns: 1fr; }
    .submit-btn { font-size: 16px; }
}
