.course-profile-mask[hidden], .course-profile-mask [hidden] { display: none !important; }
.course-profile-mask, .course-profile-mask * { box-sizing: border-box; }
.course-profile-mask {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(8, 28, 22, .52); padding: 16px;
}
body.course-profile-open { overflow: hidden; }
.course-profile-card {
    position: relative; width: 380px; max-width: 100%; max-height: calc(100vh - 32px);
    overflow-y: auto; padding: 36px 28px 30px; border-radius: 16px;
    background: #fff; box-shadow: 0 24px 64px rgba(5, 58, 43, .2);
    font-family: inherit; color: #253a33;
}
.course-profile-card h2 { margin: 0 0 12px; text-align: center; font-size: 26px; font-weight: 500; color: #00B48B; }
.course-profile-hint { margin: 0 0 24px; text-align: center; color: #7b8883; font-size: 13px; line-height: 1.7; }
.course-profile-close {
    position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
    padding: 0; border: 0; border-radius: 50%; background: #f2f2f2;
    color: #5b6b65; font-size: 23px; line-height: 28px; cursor: pointer;
}
.course-profile-field { display: block; margin-bottom: 18px; font-size: 14px; }
.course-profile-field span { display: block; margin-bottom: 8px; }
.course-profile-field input {
    width: 100%; height: 44px; padding: 0 12px; border: 1px solid #dfe6e3;
    border-radius: 6px; background: #fff; font: inherit; color: #253a33;
}
.course-profile-field input::placeholder { color: #a0aaa6; }
.course-profile-field input:focus { outline: 2px solid rgba(0, 180, 139, .15); border-color: #00B48B; }
.course-profile-error { min-height: 20px; margin: 0 0 12px; color: #596b64; font-size: 13px; line-height: 20px; }
.course-profile-save {
    width: 100%; height: 44px; border: 0; border-radius: 6px; background: #00B48B;
    color: #fff; font: inherit; font-size: 16px; cursor: pointer;
}
.course-profile-save:hover { background: #009e7b; }
.course-profile-save:disabled { opacity: .55; cursor: wait; }
.course-profile-reload { margin-bottom: 12px; padding: 0; border: 0; background: none; color: #008b6c; cursor: pointer; }
.course-profile-card button:focus-visible { outline: 2px solid #008b6c; outline-offset: 3px; }
