i.icon-star.standalone-icon {
  display: none;
}

#batch_check {
    display: none !important;
}

/* Canvas Course Disclaimer Popup - Optimized CSS */

/* Popup overlay */
.disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
    /* Prevent scrolling when popup is open */
    overflow: hidden;
}

/* Prevent body scroll when popup is active */
body.disclaimer-active {
    overflow: hidden;
}

/* Popup container */
.disclaimer-popup {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease-out;
    /* Ensure popup stays in viewport */
    margin: 20px;
}

/* Header */
.disclaimer-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e1e4e8;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    flex-shrink: 0;
}

.disclaimer-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Improve readability */
    line-height: 1.3;
}

/* Content area - scrollable */
.disclaimer-content {
    padding: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    /* Smooth scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}

/* Improve link visibility */
.disclaimer-content a {
    color: #0066cc;
    text-decoration: underline;
}

.disclaimer-content a:hover {
    color: #0052a3;
}

.disclaimer-content a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Improve paragraph spacing */
.disclaimer-content p {
    margin: 0 0 16px 0;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.disclaimer-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #e1e4e8;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Acknowledge button */
.acknowledge-btn {
    background: #D64309;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Improve button appearance */
    min-width: 120px;
    text-align: center;
}

.acknowledge-btn:hover {
    background: #c43a03;
}

.acknowledge-btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(214, 67, 9, 0.4);
}

.acknowledge-btn:active {
    background: #b53603;
    transform: translateY(1px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Hide popup class */
.disclaimer-hidden {
    display: none !important;
}

/* Custom scrollbar styling */
.disclaimer-content::-webkit-scrollbar {
    width: 8px;
}

.disclaimer-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.disclaimer-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.disclaimer-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .disclaimer-popup {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
    }
    
    .disclaimer-content {
        max-height: 60vh;
        padding: 20px;
    }
    
    .disclaimer-header,
    .disclaimer-footer {
        padding: 16px 20px;
    }
    
    .disclaimer-title {
        font-size: 18px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .disclaimer-popup {
        border: 2px solid #000;
    }
    
    .acknowledge-btn {
        border: 2px solid transparent;
    }
    
    .acknowledge-btn:focus {
        border-color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .disclaimer-overlay,
    .disclaimer-popup,
    .acknowledge-btn {
        animation: none;
        transition: none;
    }
}
