/* Frontend styles for LearnDash Iranian Addons */

.ld-iranian-pricing-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ld-iranian-regular-price {
    text-decoration: line-through;
    color: #999;
}

.ld-iranian-sale-price {
    color: #e74c3c;
    font-weight: bold;
}

.ld-iranian-discount-badge {
    background: #27ae60;
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* Currency symbol styling */
.ld-currency-symbol {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    /* Add any specific styling for currency symbol here */
}

/* Normal price styling for non-discounted courses */
.ld-normal-price {
    color: #2c3e50;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.ld-iranian-out-of-stock {
    color: #e74c3c;
    font-weight: bold;
}

/* LearnDash Iranian Addons - Frontend Styles */

/* Course Grid Styles */
.ldia-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Enrollment Widget Styles */
.ldia-enrollment-widget {
    /* Removed default box styling */
}

.ldia-enrollment-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4caf50;
    font-weight: bold;
}

.ldia-enrollment-status .dashicons {
    font-size: 24px;
}

.ldia-course-price {
    margin: 15px 0;
    font-size: 24px;
    font-weight: bold;
}

.ldia-course-price .regular-price {
    color: #999;
    font-size: 18px;
}

.ldia-course-price .sale-price {
    color: #e74c3c;
}

.ldia-enroll-button {
    /* base reset; styling via Elementor controls */
    display: inline-block;
    text-decoration: none;
}

.ldia-enroll-button:hover {
    /* no hover styles by default */
}

.ldia-enroll-button.ldia-full-width {
    display:block;
    width:100%;
    text-align:center;
} 