@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f2f5;
}

header {
    display: flex;
    justify-content: center;
    padding: 20px 40px;
    background-color: #fff;
}

.top-bar {
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #F37021 0%, #006838 100%);
}

.logo img {
    height: 40px;
}

.container {
    display: flex;
    flex: 1;
    background-color: #fff;
    margin: 0;
    width: 100%;
}

.left-panel {
    flex: 1;
    color: #333333;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-width: 50%;
}

.left-panel.gradient {
    background: #fef9e4;
}

.left-panel.blue {
    background-color: #fef9e4;
}

.left-panel h1 {
    color: #006838;
    font-size: 2.5rem;
    margin-bottom: 20px;
    z-index: 2;
    font-weight: 700;
}

.left-panel p {
    font-size: 1.5rem;
    line-height: 1.4;
    z-index: 2;
    max-width: 80%;
}

.right-panel {
    flex: 1;
    padding: 80px 120px;
    display: flex;
    flex-direction: column;
    background: #fff;
    max-width: 50%;
}

.right-panel p.subtitle {
    color: #4a4a4a;
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: 500;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: #fff;
    padding: 0 5px;
    font-size: 0.75rem;
    color: #F37021;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #F37021;
    border-radius: 4px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    color: #333;
}

.form-group input:focus {
    border-color: #d85c15;
    box-shadow: 0 0 0 2px rgba(243, 112, 33, 0.2);
}

.form-group.error input {
    border-color: #F37021;
    color: #F37021;
}

.form-group.error label {
    color: #F37021;
}

.form-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
    display: block;
}

.toggle-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 10px;
}
.toggle {
    appearance: none;
    width: 44px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 20px;
    position: relative;
    outline: none;
    cursor: pointer;
}
.toggle:checked {
    background: #006838;
}
.toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle:checked::after {
    left: 22px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #006838;
}

.checkbox-group label {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #4b5563;
}
.checkbox-group label a {
    color: #006838;
    text-decoration: none;
}
.checkbox-group label a:hover {
    text-decoration: underline;
}

.whatsapp-box {
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.whatsapp-box p {
    font-weight: 600;
    margin-bottom: 15px;
    color: #111827;
    font-size: 0.95rem;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background-color: #006838;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: #004d29;
}

.summary-box {
    background-color: #f9fafb;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #006838;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.summary-row {
    display: flex;
    align-items: center;
}
.summary-row .label {
    color: #6b7280;
    font-size: 0.9rem;
    width: 80px;
}
.summary-row .value {
    font-weight: 600;
    color: #111827;
    font-size: 1rem;
}

.row {
    display: flex;
    gap: 20px;
}
.col {
    flex: 1;
}

/* Modal Popup - Floating Card Design */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #FEF9E4;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: #333333;
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.modal-content h2 {
    color: #006838;
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: 800;
}

.modal-content p {
    color: #333333;
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.modal-content .highlight {
    color: #F37021;
    font-weight: 800;
    font-size: 1.6rem;
    display: block;
    margin-top: 10px;
}

.modal-content .btn-primary {
    background-color: #006838;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 104, 56, 0.4);
}
.modal-content .btn-primary:hover {
    background-color: #004d29;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }
    .container.reverse-mobile {
        flex-direction: column-reverse;
    }
    .left-panel, .right-panel {
        max-width: 100%;
    }
    .left-panel {
        padding: 40px 20px;
        text-align: center;
    }
    .left-panel h1 {
        font-size: 2rem;
    }
    .left-panel p {
        font-size: 1.2rem;
        margin-bottom: 20px !important;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .right-panel {
        padding: 40px 20px;
    }
    .right-panel p.subtitle {
        text-align: center;
        margin-bottom: 30px;
    }
    .btn-primary {
        padding: 14px;
    }
    .form-group input {
        padding: 14px 16px;
    }
}
