

.cb-form-group {
    display: flex;
    margin-top: 15px;
}

p.cb-login-error {
    font-size: 1rem;
    font-weight: 500;
    margin: 0px;
}
.cb-content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}
.cb-type-youtube {
    width: 30%;
    text-align: center;
}

.cb-type-youtube a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}
.cb-type-manuals {
    width: 30%;
    text-align: center;
}

.cb-type-manuals a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}
.cb-type-youtube .cb-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
}
.cb-type-youtube .cb-title {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}
.cb-type-manuals .cb-thumb {
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}
.cb-type-manuals .cb-title {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}
img.cb-thumb {
    border-radius: 5px;
}
/* Materials two-column layout */
.cb-materials-list {
    column-count: 2;
    column-gap: 30px;
    margin: 50px 0px;
}
.cb-material-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.cb-material-item a{
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
}
.cb-material-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 5px;
}

.cb-login-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 120px 20px 0px;
}

.cb-welcome-text {
    font-weight: 600;
    font-size: 1.8rem;
    color: #ffffff;
    text-decoration: underline;
}

.cb-logout-form {
    margin: 0;
}

.cb-logout-button, .cb-login-form input[type="submit"]  {
    padding: 10px 30px;
    background: linear-gradient(165deg, #4FBFA5 0%, #469944 38%, #1955A6 100%);
    color: #ffffff;
    border: none;
    border-radius: 20px !important;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
}

.cb-login-disclaimer {
    font-size: 1.5rem;
    color: #ffffff;
}

.cb-login-form {
    padding: 20px;
}

.cb-login-form .cb-form-row {
    gap: 20px;
    justify-content: space-between;
}

.cb-login-form label {
    margin-bottom: 6px;
    font-weight: 400;
    color: white;
    font-size: 1.2rem;
}

.cb-login-form input[type="text"],
.cb-login-form input[type="password"] {
    padding: 10px;
    border: 1px solid #060606;
    background: #D9D9D9;
    border-radius: 4px;
    font-size: 1rem;
    color: #292929;
    margin-right: 20px;
}

.cb-login-form input[type="submit"]:hover {
    opacity: 0.9;
}

.cb-user-message {
    color: #ffffff;
    margin: 30px 0;
    font-size: 1rem;
}

/*temporary rule for my local*/
.entry-content.alignfull.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained {
    background: #23262D;
}

/*Video modal*/
/* Fullscreen overlay */
.cb-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

/* Video content fills screen */
.cb-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Close button */
#cb-modal-close {
    position: absolute;
    top: 70px;
    right: 30px;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

#cb-modal-close:hover {
    color: #ccc;
}

/* Responsive iframe */
.cb-modal-iframe-wrapper {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
}

.cb-modal-iframe-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
}
