.pte-carousel-wrapper-b3e6942f {
    position: relative;
    width: 100%;
}

.pte-course-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.pte-course-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pte-course-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pte-course-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.pte-course-desc {
    margin-bottom: 20px;
    flex-grow: 1;
}

.pte-course-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
    align-self: center;
}

.pte-course-btn:hover {
    background-color: #0056b3;
}

/* Modal Styles */
.pte-modal-b3e6942f {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.admin-bar .pte-modal-b3e6942f {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}

@media screen and (max-width: 782px) {
    body.admin-bar .pte-modal-b3e6942f {
        top: 46px;
        height: calc(100% - 46px);
    }
}

.pte-modal-content {
    background-color: #fefefe;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.pte-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.pte-modal-close:hover,
.pte-modal-close:focus {
    color: black;
    text-decoration: none;
}

.pte-form-group {
    margin-bottom: 15px;
}

.pte-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.pte-form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.pte-submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.pte-submit-btn:hover {
    background-color: #218838;
}

.pte-form-message {
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    color: #28a745;
}
