/* assets/style.css */

/* Modal overlay */
.course-modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: flex;
}

/* Modal box */
.course-modal {
    background: #fff;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    position: relative;
    box-sizing: border-box;
}

/* Close button */
.course-modal-close {
    position: absolute;
    right: 10px;
    top: 8px;
    font-size: 20px;
    cursor: pointer;
}

/* Title */
.course-modal h2 {
    margin-top: 0;
}

/* Inputs */
.course-form input[type="email"],
.course-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Buttons in modal */
.course-form button {
    margin-right: 10px;
    padding: 8px 14px;
    cursor: pointer;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
}

.course-form button:hover {
    background: #005f8d;
}

/* Feedback text */
.course-feedback {
    margin-top: 10px;
    font-size: 14px;
}

/* Frontend signup button */
.course-signup-btn {
    background: #0073aa;
    color: #fff;
    padding: 8px 14px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.course-signup-btn:hover {
    background: #005f8d;
}

.course-signup-btn[disabled] {
    background: #999;
    cursor: not-allowed;
}

/* Admin delete button */
.course-delete-btn {
    color: #d63638 !important;
    cursor: pointer;
}
