/**
 * Student Dashboard Styles
 * Styles specific to student dashboard
 *
 * @package    BIPP_Program
 * @subpackage Assets/CSS
 * @since      1.0.0
 */

/* === STUDENT DASHBOARD CONTAINER === */
.bipp-student-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* === DASHBOARD HEADER === */
.bipp-dashboard-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5aa0 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bipp-dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #ffffff;
}

.bipp-dashboard-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

/* === DASHBOARD GRID === */
.bipp-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.bipp-dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bipp-dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === PROGRESS CARD === */
.bipp-progress-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.bipp-progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.bipp-progress-stat {
    text-align: center;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.bipp-progress-stat .bipp-stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #1e3a5f;
    line-height: 1;
    margin-bottom: 5px;
}

.bipp-progress-stat .bipp-stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bipp-progress-dates {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.bipp-date-item {
    font-size: 13px;
    color: #666;
}

.bipp-date-item strong {
    color: #333;
}

/* === CLASS SELECTION === */
.bipp-class-selection {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.bipp-selected-class {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.bipp-class-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.bipp-class-option {
    padding: 20px;
    background: #ffffff;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bipp-class-option:hover {
    border-color: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bipp-class-option.selected {
    border-color: #28a745;
    background-color: #d4edda;
}

.bipp-class-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.bipp-class-option h3 {
    margin: 10px 0 5px 0;
    color: #1e3a5f;
    font-size: 20px;
}

.bipp-class-option p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.bipp-btn-select-class {
    margin-top: 15px;
    width: 100%;
}

.bipp-btn-selected {
    background-color: #28a745;
}

.bipp-btn-selected:hover {
    background-color: #218838;
}

/* === JOIN CLASS === */
.bipp-join-class {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5aa0 100%);
    color: #ffffff;
}

.bipp-join-class h2 {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.bipp-class-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.bipp-class-info p {
    margin: 0;
    color: #ffffff;
}

.bipp-join-active,
.bipp-join-soon,
.bipp-join-waiting {
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.bipp-join-active {
    background: rgba(255, 255, 255, 0.15);
}

/* === CODE ENTRY === */
.bipp-code-entry {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.bipp-code-help {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
    border-left: 4px solid #1e3a5f;
}

/* === ATTENDANCE LIST === */
.bipp-attendance-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bipp-attendance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

.bipp-attendance-icon {
    width: 32px;
    height: 32px;
    background: #28a745;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.bipp-attendance-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bipp-attendance-details strong {
    color: #1e3a5f;
    font-size: 14px;
}

.bipp-attendance-date,
.bipp-attendance-week {
    font-size: 12px;
    color: #666;
}

/* === SCHEDULE INFO === */
.bipp-schedule-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bipp-schedule-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #1e3a5f;
}

.bipp-schedule-item strong {
    display: block;
    color: #1e3a5f;
    margin-bottom: 5px;
}

.bipp-schedule-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* === COMPLETION CARD === */
.bipp-completion-card {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

.bipp-completion-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.bipp-completion-card h2 {
    color: #ffffff;
    border: none;
    font-size: 32px;
    margin-bottom: 15px;
}

.bipp-completion-card p {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 25px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .bipp-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .bipp-progress-stats {
        grid-template-columns: 1fr;
    }
    
    .bipp-class-options {
        grid-template-columns: 1fr;
    }
    
    .bipp-progress-dates {
        flex-direction: column;
        gap: 10px;
    }
}