/* --- BUTTONS --- */
.kwetu-btn { 
    width: 100%; 
    background: #0b4636; /* Emerald */
    color: white; 
    border: none; 
    padding: 15px; 
    font-size: 16px; 
    border-radius: 0; 
    cursor: pointer; 
    text-transform: uppercase; 
    letter-spacing: 1px;
}
.kwetu-btn:hover { background: #d4af37; /* Gold */ }
.kwetu-btn:disabled { background: #ccc; cursor: not-allowed; }

.kwetu-btn-outline {
    background: transparent;
    color: #0b4636;
    border: 1px solid #0b4636;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}
.kwetu-btn-outline:hover {
    background: #0b4636;
    color: #fff;
}

/* --- FORM UI --- */
.kwetu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.kwetu-card { background: #fff; padding: 25px; border: 1px solid #e0e0e0; }
.kwetu-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.kwetu-input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; background: #fafafa; }
.kwetu-label { font-weight: bold; font-size: 0.9rem; text-transform: uppercase; color: #555; margin-bottom: 5px; display: block; }
.kwetu-summary { background: #f9f9f9; padding: 20px; border: 1px solid #e0e0e0; border-top: 3px solid #d4af37; }
.kwetu-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.kwetu-total-row { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: bold; margin-top: 15px; border-top: 1px solid #ddd; padding-top: 15px; color: #0b4636; }

/* --- TIMELINE MODAL --- */
.kwetu-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 999999; /* Highest priority */
    display: none;
    align-items: center;
    justify-content: center;
}
.kwetu-modal.is-open { display: flex; }

.kwetu-modal-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 70, 54, 0.8); /* Dark Green Tint */
    backdrop-filter: blur(5px);
}

.kwetu-modal-content {
    background: #fff;
    width: 90%; max-width: 550px;
    max-height: 85vh;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-top: 5px solid #d4af37; /* Gold Top */
}

.kwetu-modal-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; }
.kwetu-modal-header h2 { margin: 0; font-size: 1.5rem; }
.kwetu-modal-close { background: none; border: none; font-size: 30px; cursor: pointer; color: #999; }
.kwetu-modal-body { padding: 30px; overflow-y: auto; }
.kwetu-modal-footer { padding: 15px; background: #f9f9f9; text-align: right; }

/* Timeline UI */
.kwetu-timeline { border-left: 2px solid #eee; padding-left: 20px; margin-left: 10px; }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-marker {
    position: absolute;
    left: -36px;
    top: 0;
    width: 30px; height: 30px;
    background: #d4af37;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    font-size: 12px;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.timeline-content h4 { margin: 0 0 5px 0; color: #0b4636; font-size: 1.1rem; }
.timeline-content p { margin: 0; color: #666; font-size: 0.95rem; line-height: 1.5; }