/* Hide Tin Canny author header */
.tclr-header-top__author {
    display: none;
}

/* Hide specific LearnDash notices */
.notice.notice-info.is-dismissible.learndash-notice-permanently-dismissible,
.learndash-notice-permanently-dismissible {
    display: none !important;
}

/* Hide LearnDash header settings buttons for platform managers */
.platform-manager #sfwd-header .ld-global-header-new-settings a:nth-child(1),
.platform-manager #sfwd-header .ld-global-header-new-settings a:nth-child(2) {
    display: none !important;
}

/* Hide LearnDash dashboard footer */
.platform-manager #learndash-course-dashboard .inside .ld-dashboard__footer {
    display: none !important;
}

/* Add any other admin-wide CSS rules here */

/* Shortcode Grid Styling */
.shortcode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.shortcode-item {
    background: #fff;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.shortcode-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.shortcode-item input[type="checkbox"] {
    margin: 0;
}

.shortcode-label {
    font-size: 13px;
}

/* Show shortcode on hover */
.shortcode-item label:hover::after {
    content: attr(title);
    position: absolute;
    background: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-top: -25px;
    z-index: 1;
}

/* SimplyLearn Button Styles */
.simplylearn-button {
    display: inline-block;
    background-color: var(--ld-primary-color, #00a2e8);
    color: white;
    padding: 0.75em 1em;
    text-decoration: none;
    border-radius: 0.25em;
    border: 0;
    font-size: 1em;
    font-weight: 600;
    margin: 0.5em 0;
}

/* Add LearnDash button classes */
.simplylearn-button.ld-button {
    background-color: var(--ldx-primary-color);
    color: white;
    padding: 0.75em 1em;
    text-decoration: none;
    border-radius: 0.25em;
}

.simplylearn-button:hover {
    background-color: var(--ld-primary-color-hover, #018ac5); /* LearnDash hover color */
    color: white;
    text-decoration: none;
    opacity: 1;
}

.simplylearn-button:active {
    background-color: var(--ld-primary-color-hover, #018ac5);
    transform: translateY(1px);
}

/* Responsive */
@media (max-width: 768px) {
    .simplylearn-button {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .simplylearn-button {
        display: block !important;
        width: 100% !important;
        margin: var(--ld-button-margin-mobile, 10px auto) !important;
    }
}

.shortcode-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.shortcode-info-item {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.shortcode-info-item code {
    display: inline-block;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.shortcode-info-item p {
    margin: 8px 0;
    color: #666;
}

.shortcode-info-item a {
    display: inline-block;
    text-decoration: none;
    color: #2271b1;
}

.shortcode-info-item a:hover {
    color: #135e96;
}
 