/* General Styles */
#iou-zakat-calculator {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.iou-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.iou-progress-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f0f0f0;
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.iou-progress-step.active {
    background: var(--primary-color, #00a0df); /* Use primary color */
    color: #fff;
}

/* Steps Container */
.iou-steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.iou-step {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.iou-step.active {
    display: block;
}

/* Inputs and Selects */
.iou-step select,
.iou-step input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius, 0); /* Use border radius */
}

/* Buttons */
.iou-next-btn,
#iou-donate-btn {
    background: var(--primary-color, #00a0df); /* Use primary color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    border-radius: var(--border-radius, 0); /* Use border radius */
    transition: background 0.3s ease;
}

.iou-next-btn:hover,
#iou-donate-btn:hover {
    background: var(--secondary-color, #003366); /* Use secondary color */
}

/* Zakat Types and Year Types */
.iou-zakat-types,
.iou-year-types {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.iou-zakat-types label,
.iou-year-types label {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Asset Inputs */
.iou-asset-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.iou-asset-input {
    display: flex;
    flex-direction: column;
}

/* Results */
#iou-zakat-results {
    margin-top: 20px;
    font-size: 1.2em;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .iou-progress-bar {
        flex-direction: column;
    }

    .iou-progress-step {
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .iou-step {
        padding: 15px;
    }

    .iou-next-btn,
    #iou-donate-btn {
        width: 100%;
    }
}