/* ========================================
   STUDY PLAN STYLES
   ======================================== */

.study-plan-container {
    max-width: 1000px;
    margin: 0 auto;
}

.plan-header {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plan-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.plan-header h2 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.plan-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.week-navigator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.week-btn {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
}

.week-btn.active {
    background: #6366f1;
    border-color: #6366f1;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.week-btn:hover:not(.active) {
    border-color: #6366f1;
    color: #6366f1;
}

.daily-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.day-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.day-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #1f2937;
}

.day-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s ease;
}

.day-card.completed .day-status {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 6px;
    background: #f9fafb;
}

.task-icon {
    margin-top: 3px;
    color: #6366f1;
}

.task-content h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: #374151;
}

.task-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.plan-actions {
    margin-top: 40px;
    text-align: center;
}

.generate-plan-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.generate-plan-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.generate-plan-btn i {
    font-size: 1.2rem;
}

/* Empty State */
.no-plan-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.no-plan-icon {
    font-size: 5rem;
    color: #e5e7eb;
    margin-bottom: 20px;
}

.no-plan-text h3 {
    margin: 0 0 10px 0;
    color: #1f2937;
    font-size: 1.5rem;
}

.no-plan-text p {
    margin: 0 0 30px 0;
    color: #6b7280;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}