/* ===== MODERN CV TEMPLATE DYNAMICS ===== */

/* Terminal Container for Tech Modern Template */
.template-tech-modern {
    background: #1a1a1a;
    color: #00ff88;
    font-family: 'Courier New', monospace;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.terminal-container {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background: #2d2d2d;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #444;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.close { background: #ff5f57; }
.terminal-btn.minimize { background: #ffbd2e; }
.terminal-btn.maximize { background: #28ca42; }

.terminal-title {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
}

.terminal-body {
    padding: 1.5rem;
    background: #1a1a1a;
    color: #00ff88;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
}

.command-line {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt {
    color: #00ff88;
    font-weight: bold;
}

.command {
    color: #ffffff;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.cursor-blink {
    animation: blink 1s infinite;
    color: #00ff88;
}

.json-output {
    margin: 1rem 0;
    padding-left: 1rem;
}

.json-bracket {
    color: #ffbd2e;
    font-weight: bold;
}

.json-property {
    padding-left: 1rem;
    margin: 0.25rem 0;
}

.json-key {
    color: #ff6b6b;
}

.json-string {
    color: #00ff88;
}

.output-text {
    color: #ffffff;
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 2px solid #00ff88;
}

.skills-list {
    margin: 1rem 0;
}

.skill-item-tech {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.75rem 0;
    padding: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 6px;
}

.skill-name-tech {
    color: #ffffff;
    font-weight: 600;
}

.skill-bar-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    max-width: 200px;
}

.skill-bar-bg {
    flex: 1;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00d4aa);
    transition: width 0.8s ease;
}

.skill-percentage {
    color: #00ff88;
    font-size: 0.8rem;
    min-width: 35px;
}

.git-log {
    margin: 1rem 0;
}

.commit-entry {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: rgba(0, 255, 136, 0.05);
    border-radius: 6px;
    border-left: 3px solid #00ff88;
}

.commit-hash {
    color: #ffbd2e;
    font-weight: bold;
    min-width: 70px;
}

.commit-message {
    flex: 1;
}

.job-title-tech {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.company-tech {
    color: #00ff88;
    margin: 0.25rem 0;
}

.date-range-tech {
    color: #999;
    font-size: 0.9rem;
}

.commit-description {
    color: #ccc;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.education-log, .npm-list {
    margin: 1rem 0;
}

.log-entry {
    margin: 0.5rem 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.log-timestamp {
    color: #999;
    font-size: 0.9rem;
}

.log-level {
    color: #00ff88;
    font-weight: bold;
    min-width: 50px;
}

.log-message {
    color: #ffffff;
}

.npm-package {
    color: #ccc;
    margin: 0.25rem 0;
    padding-left: 1rem;
}

/* Enhanced Timeline Elements */
.timeline-container {
    position: relative;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

/* Enhanced Circular Progress */
.circular-progress {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(#00ff88 var(--progress, 0deg), rgba(255,255,255,0.2) var(--progress, 0deg));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    position: relative;
}

.circular-progress::before {
    content: '';
    width: 28px;
    height: 28px;
    background: #667eea;
    border-radius: 50%;
    position: absolute;
}

.circular-progress span {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 0.65rem;
}

/* Creative Template Sidebar Enhancements */
.template-creative-design {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 50%, #ff9ff3 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    width: 300px;
    min-height: 100vh;
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .skill-item-tech {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .skill-bar-container {
        max-width: 100%;
    }
    
    .commit-entry {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .commit-hash {
        min-width: auto;
    }
    
    .terminal-body {
        padding: 1rem;
    }
    
    .timeline-container {
        padding-left: 1.5rem;
    }
    
    .timeline-dot {
        left: -1.5rem;
    }
}

/* Print Styles for New Elements */
@media print {
    .terminal-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .terminal-header {
        background: #f5f5f5;
        color: #333;
    }
    
    .terminal-body {
        background: white;
        color: #333;
    }
    
    .skill-bar-fill {
        background: #333 !important;
    }
    
    .circular-progress {
        background: #f5f5f5;
        border: 1px solid #ccc;
    }
} 