/**
 * Course Enrollment Styles
 */

.lms-course-enrollment {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.lms-course-price {
    margin-bottom: 20px;
}

.lms-course-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E7D32;
}

.lms-course-price .price.free {
    color: #4CAF50;
}

.lms-enrollment-actions {
    margin-top: 20px;
}

.lms-btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lms-btn-primary {
    background: linear-gradient(135deg, #2E7D32, #4CAF50);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.lms-btn-primary:hover {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.lms-enrollment-status {
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.lms-enrollment-status.enrolled {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lms-enrollment-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    background: #d4edda;
    border-radius: 8px;
    color: #155724;
    font-weight: 600;
}

.lms-enrollment-success i {
    color: #28a745;
    font-size: 1.2rem;
}

.lms-enrollment-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.lms-enrollment-error p {
    margin: 10px 0;
}

.lms-btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.lms-btn-success:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.lms-btn-secondary {
    background: #6c757d;
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.lms-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Pending/Processing Status */
.lms-enrollment-status.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.lms-enrollment-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
    font-weight: 600;
}

.lms-enrollment-warning i {
    color: #ffc107;
    font-size: 1.2rem;
}

.lms-btn-warning {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: #212529;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.lms-btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, #f57c00);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Button Sizes */
.lms-btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .lms-course-enrollment {
        padding: 20px;
        margin: 20px 0;
    }
    
    .lms-course-price .price {
        font-size: 2rem;
    }
    
    .lms-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
