/* Qadha CSS */
body {
    background-color: #fcf8f9;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.q-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(180deg, #fff0f5 0%, #fcf8f9 100%);
    z-index: 0;
}

.q-container {
    position: relative;
    z-index: 1;
    padding: 30px 15px 50px;
    max-width: 480px;
    margin: 0 auto;
}

.q-header {
    text-align: center;
    margin-bottom: 25px;
}

.q-icon-moon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.q-icon-moon {
    background: #e6a1b8;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.q-header h1 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.q-header p {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
    margin: 0 auto 15px;
    max-width: 350px;
}

.q-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.q-badge {
    background: #ffecf0;
    color: #d3557d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
}

.q-divider-wrapper {
    position: relative;
    margin: 30px 0 20px;
    text-align: center;
}

.q-divider-line {
    height: 1px;
    background: #e0e0e0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 1;
}

.q-formulir-pill {
    position: relative;
    z-index: 2;
    background: #d3557d;
    color: white;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.q-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #eaeaea;
    border-top: 4px solid #d3557d;
}

.q-card-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.q-section-title {
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.q-selected-year-box {
    background: #fff0f5;
    border: 1px solid #ffccd9;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.q-selected-icon {
    color: #d3557d;
    font-size: 16px;
}

.q-selected-title {
    font-size: 13px;
    font-weight: bold;
    color: #d3557d;
    margin-bottom: 4px;
}

.q-selected-desc {
    font-size: 10px;
    color: #777;
}

.q-carousel-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 11px;
    font-weight: 600;
    color: #777;
}

.q-nav-arrow {
    cursor: pointer;
    padding: 5px;
}

.q-year-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.q-year-card {
    background: #f7f7f7;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.q-year-card.active {
    background: #d3557d;
    color: white;
    border-color: #d3557d;
}

.q-year-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.q-year-card.active .q-year-title {
    color: white;
}

.q-year-subtitle {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
}

.q-year-card.active .q-year-subtitle {
    color: rgba(255,255,255,0.8);
}

.q-year-date {
    font-size: 9px;
    color: #888;
}

.q-year-card.active .q-year-date {
    color: rgba(255,255,255,0.7);
}

.q-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}

.q-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffccd9;
}

.q-dot-active {
    width: 14px;
    border-radius: 6px;
    background: #d3557d;
}

.q-question-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.q-custom-select {
    position: relative;
    width: 100%;
}

.q-select-trigger {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 14px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
    color: #555;
}

.q-select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.q-select-options.open {
    display: block;
}

.q-option {
    padding: 12px 15px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #fcfcfc;
}

.q-option:hover {
    background: #fff0f5;
}

.q-option[data-value="haid"] {
    background: #e6a1b8;
    color: white;
}
.q-option[data-value="haid"]:hover {
    background: #d3557d;
}

.q-opt-icon {
    font-size: 14px;
}

.q-action-container {
    padding: 0 10px;
}

.q-btn-solid {
    width: 100%;
    background: #d3557d;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(211, 85, 125, 0.2);
}

.q-btn-mulai-ulang {
    text-align: right;
    color: #777;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.q-btn-outline-red {
    width: 100%;
    background: transparent;
    border: 1px solid #ff769b;
    color: #e74c3c;
    padding: 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
