/* src/components/student/ProjectViewPage.css */

.student-project-container {
    padding: 32px;
    background: #fdf2e9; /* Light cream/tan background */
    min-height: 100vh;
    animation: fadeIn 0.4s ease-out;
}

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

.project-brand-header {
    background: #3c3c3c; /* Dark banner */
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.brand-meta-grid {
    display: flex;
    gap: 48px;
}

.brand-meta-item .label {
    font-size: 11px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.brand-meta-item .value {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.main-project-split {
    display: flex;
    gap: 32px;
}

/* LEFT SIDE: MILESTONES */
.milestones-nav-card {
    width: 320px;
    background: #2d2d2a;
    border-radius: 24px;
    padding: 24px;
    height: fit-content;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.milestones-nav-card h3 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.7);
}

.milestone-nav-item {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.milestone-nav-item:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
}

.milestone-nav-item.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.milestone-nav-item h4 {
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: 800;
    text-transform: uppercase;
}

.milestone-nav-item .meta {
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

/* RIGHT SIDE: WORKSPACE AREA */
.project-workspace-panel {
    flex: 1;
    background: #2d2d2a;
    border-radius: 24px;
    padding: 48px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.badge-row {
    margin-bottom: 40px;
}

.badge-row h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: white;
    margin: 0 0 8px 0;
}

.badge-row .status {
    font-weight: 800;
    font-size: 14px;
}

.deliverables-container h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.deliverable-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.deliverable-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.deliverable-card-exclusive {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 24px;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deliverable-card-exclusive:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.deliverable-card .status-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 4px;
    display: inline-block;
}

.status-pending { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.status-reviewed { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.status-action { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.feedback-bubble {
    margin-top: 12px;
    padding: 16px;
    background: rgba(249, 115, 22, 0.1);
    border-left: 3px solid #f97316;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #ffd8b1;
    font-style: italic;
    width: 100%;
}

.upload-composer {
    margin-top: 48px;
}

.upload-composer label {
    font-family: 'Oswald', sans-serif;
    display: block;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 20px;
}

.premium-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    color: white;
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.premium-input:focus {
    outline: none;
    border-color: #f97316;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

.attach-zone-premium {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(249, 115, 22, 0.5);
    border-radius: 10px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.attach-zone-premium:hover {
    background: rgba(249, 115, 22, 0.05);
    border-color: #f97316;
}

.submit-btn-neon {
    float: right;
    padding: 16px 36px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.submit-btn-neon:hover:not(:disabled) {
    transform: translateY(-4px);
    filter: brightness(1.1);
    box-shadow: 0 15px 30px rgba(234, 88, 12, 0.4);
}

.submit-btn-neon:disabled {
    opacity: 0.5;
    cursor: wait;
}

.view-btn-solid {
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.view-btn-solid:hover {
    background: white;
    color: black;
}

.no-deliverables {
    padding: 48px;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.01);
}

.no-deliverables .icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    opacity: 0.5;
}
