* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Google Sans', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-8vh);
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: transparent;
    padding: 0;
    box-shadow: none;
    margin-bottom: 20px;
    mix-blend-mode: multiply;
    filter: grayscale(1) opacity(0.5) contrast(1.1) brightness(1.05);
}

.logo-container h1 {
    color: #5f6368;
    font-size: 32px;
    font-weight: 700;
    text-shadow: none;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 100%;
}

.login-card h2 {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-card p {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.pin-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.pin-digit {
    width: 60px;
    height: 60px;
    font-size: 28px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.pin-digit:focus {
    border-color: #5f6368;
    box-shadow: 0 0 0 3px rgba(95, 99, 104, 0.1);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none#5f6368;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(95, 99, 104, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 99, 104, 0.4);
    background: #4a4e52
}
.submit-btn:active {
    transform: translateY(0);
}

/* Mobile optimization */
@media (max-width: 480px) {
    .login-container {
        transform: translateY(-5vh);
    }
    .logo-container img {
        width: 100px;
        height: 100px;
    }
    .logo-container h1 {
        font-size: 28px;
    }
    .login-card {
        padding: 30px 20px;
    }
    .pin-digit {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (max-height: 600px) {
    .login-container {
        transform: translateY(-3vh);
    }
    .logo-container {
        margin-bottom: 20px;
    }
    .logo-container img {
        width: 80px;
        height: 80px;
    }
    .logo-container h1 {
        font-size: 24px;
    }
}

/* ============================================================
   PROJECT DETAIL PAGE - TIMELINE STYLES
   ============================================================ */

/* Project Info Grid */
.project-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-item label {
    display: block;
    font-weight: 600;
}

/* Vertical Timeline Container */
.timeline-container {
    max-height: 800px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

.timeline-container::-webkit-scrollbar {
    width: 8px;
}

.timeline-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Timeline Structure */
.timeline {
    position: relative;
    padding: 10px 0;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Marker (Circle + Line) */
.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    border: 3px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    font-size: 14px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.timeline-item.completed .timeline-icon {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-color: #28a745;
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.timeline-item.completed .timeline-icon i {
    animation: checkPop 0.3s ease;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.step-number {
    font-size: 14px;
    font-weight: 600;
}

/* Timeline Connecting Line */
.timeline-line {
    width: 3px;
    flex-grow: 1;
    background: #dee2e6;
    margin-top: 5px;
    transition: background 0.3s ease;
}

.timeline-item.completed .timeline-line {
    background: linear-gradient(180deg, #28a745 0%, #dee2e6 100%);
}

/* Timeline Content Card */
.timeline-content {
    flex-grow: 1;
    padding-bottom: 15px;
}

.timeline-card {
    background: white;
    border: 1px solid #e3e6ea;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    border-color: #0d6efd;
}

.timeline-item.completed .timeline-card {
    background: linear-gradient(135deg, #f8fff8 0%, #e8f8f0 100%);
    border-color: #28a745;
}

.timeline-title {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
}

.timeline-item.completed .timeline-title {
    color: #155724;
}

/* Custom Checkbox/Switch */
.form-check-input.step-checkbox {
    width: 48px;
    height: 24px;
    cursor: pointer;
    border: 2px solid #6c757d;
    background-color: #f8f9fa;
}

.form-check-input.step-checkbox:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.form-check-input.step-checkbox:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline-item {
        gap: 15px;
    }
    
    .timeline-icon {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .timeline-card {
        padding: 12px 16px;
    }
    
    .timeline-title {
        font-size: 14px;
    }
    
    .timeline-card:hover {
        transform: translateX(3px);
    }
}
