/* EduPlans Lesson Tracker Styles - Custom Design */
.elt-container {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1100px; 
    width: 100%;
    margin: 0 auto;
}

.elt-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: #000000;
    padding: 20px 20px;
    border-radius: 0px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0);
    margin-bottom: 10px;
    width: 1100px;
    max-width: 1100px;
    box-sizing: border-box;
    border: 0px solid #e5e5e5;
    font-family: 'Poppins', sans-serif;
}

.elt-status-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    min-width: 0;
    position: relative;
}

.elt-title {
    font-size: 14px;
    color: #a8790e;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.elt-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #333333;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
}

.elt-remaining {
    color: #000000;
    font-weight: 700;
}

.elt-activity-link {
    color: #757575ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.elt-activity-link:hover {
    color: #383838ff;
    text-decoration: underline;
}

.elt-divider {
    width: 1px;
    height: 50px;
    background: #e5e5e5;
    margin: 0 8px;
    flex-shrink: 0;
}

.elt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.elt-modal {
    background: white;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: eltSlideUp 0.3s ease-out;
    font-family: 'Poppins', sans-serif;
}

@keyframes eltSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elt-modal-content {
    padding: 40px;
    text-align: center;
}

.elt-modal-content h3 {
    color: #000000;
    font-size: 24px;
    margin: 0 0 16px 0;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.elt-modal-content p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    font-family: 'Poppins', sans-serif;
}

.elt-button {
    display: inline-block;
    background: #a8790e;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.elt-button:hover {
    background: #8f640b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 121, 14, 0.3);
    color: white;
    text-decoration: none;
}

.elt-button.secondary {
    background: #666;
    margin-left: 10px;
}

.elt-button.secondary:hover {
    background: #555;
}

.elt-login-required,
.elt-no-membership {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #666666;
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.elt-login-required h4,
.elt-no-membership h4 {
    color: #000000;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
}

.elt-login-required p,
.elt-no-membership p {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

/* Credit Activity Modal Styles */
.elt-activity-modal {
    max-width: 600px;
}

.elt-activity-list {
    text-align: left;
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
}

.elt-activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.elt-activity-item:last-child {
    border-bottom: none;
}

.elt-activity-info {
    flex: 1;
}

.elt-activity-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.elt-activity-reason {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.elt-activity-type {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.elt-activity-amount {
    font-size: 16px;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}

.elt-activity-amount.positive {
    color: #28a745;
}

.elt-activity-amount.negative {
    color: #dc3545;
}

.elt-activity-amount.neutral {
    color: #666;
}

.elt-no-activity {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .elt-status-bar {
        width: 100%;
        max-width: 1100px;
    }
}

@media (max-width: 768px) {
    .elt-status-bar {
        flex-direction: column;
        gap: 20px;
        padding: 25px 20px;
        width: 100%;
    }
    
    .elt-divider {
        width: 60px;
        height: 1px;
        margin: 0;
    }
    
    .elt-modal-content {
        padding: 30px 20px;
    }
    
    .elt-value {
        font-size: 24px;
    }
    
    .elt-status-item {
        padding: 0;
    }
    
    .elt-activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .elt-activity-amount {
        text-align: left;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .elt-status-bar {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .elt-value {
        font-size: 20px;
    }
    
    .elt-title {
        font-size: 12px;
    }
}

.elt-highlight {
    animation: eltPulse 1s ease-in-out;
}

@keyframes eltPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.elt-warning-banner {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
}

.elt-warning-banner p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.elt-warning-banner .elt-button {
    margin-left: 20px;
    padding: 8px 16px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .elt-warning-banner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .elt-warning-banner .elt-button {
        margin-left: 0;
    }
}