/* Lesson Limit Tracker Styles */

.llt-container {
    position: relative;
    margin: 20px 0;
}

/* Status Bar */
.llt-status-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    width: 100%;
}

.llt-status-item {
    flex: 1;
    padding: 16px 20px;
    text-align: center;
}

.llt-divider {
    width: 1px;
    height: 50px;
    background: #e0e0e0;
    margin: 0;
}

.llt-title {
    font-weight: 600;
    color: #022747;
    font-size: 14px;
    margin-bottom: 4px;
}

.llt-value {
    font-weight: 400;
    color: #454545;
    font-size: 16px;
}

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

.llt-modal {
    background: #ffffff;
    border-radius: 6px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.llt-modal-content {
    padding: 30px;
    text-align: center;
}

.llt-modal-content h3 {
    font-weight: 600;
    color: #022747;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.llt-modal-content p {
    font-weight: 400;
    color: #454545;
    margin: 10px 0;
    font-size: 16px;
}

.llt-modal-actions {
    margin-top: 25px;
}

.llt-button {
    display: inline-block;
    background: #022747;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.llt-button:hover {
    background: #034a73;
    color: #ffffff;
}

/* Login Required */
.llt-login-required {
    background: #ffffff;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.llt-login-required p {
    font-weight: 400;
    color: #454545;
    margin: 0 0 15px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .llt-status-bar {
        flex-direction: column;
    }
    
    .llt-status-item {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .llt-status-item:last-child {
        border-bottom: none;
    }
    
    .llt-divider {
        display: none;
    }
    
    .llt-modal {
        width: 95%;
        margin: 20px;
    }
    
    .llt-modal-content {
        padding: 20px;
    }
}

/* Ensure modal cannot be closed */
.llt-modal-overlay {
    pointer-events: all;
}

.llt-modal-overlay * {
    pointer-events: auto;
}

/* Prevent page interaction when modal is open */
body:has(.llt-modal-overlay) {
    overflow: hidden;
}