/* Window Controls */
.window-controls {
    display: flex;
    gap: 10px;
    margin-right: 15px;
}

.control {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.control.close {
    background: linear-gradient(135deg, #FF5F56 0%, #F44336 100%);
}

.control.close:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.control.minimize {
    background: linear-gradient(135deg, #FFBD2E 0%, #FFA726 100%);
}

.control.minimize:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(255, 189, 46, 0.4);
}

.control.maximize {
    background: linear-gradient(135deg, #27C93F 0%, #4CAF50 100%);
}

.control.maximize:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(39, 201, 63, 0.4);
}

.control::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.control:hover::after {
    opacity: 1;
}

/* Terminal Header */
.terminal-header {
    background: linear-gradient(135deg, rgba(40, 40, 45, 0.95) 0%, rgba(30, 30, 35, 0.95) 100%);
    padding: 15px 25px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 209, 255, 0.2);
    backdrop-filter: blur(25px);
    cursor: move;
    user-select: none;
    position: relative;
}

.terminal-window.maximized .terminal-header {
    border-radius: 0;
}

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-main);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Terminal Content */
.terminal-content {
    flex: 1;
    padding: 50px;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 16px;
    background: linear-gradient(180deg, rgba(30, 30, 35, 0.95) 0%, rgba(25, 25, 30, 0.95) 100%);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 209, 255, 0.3) transparent;
}

.terminal-content::-webkit-scrollbar {
    width: 8px;
}

.terminal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.terminal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 209, 255, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.terminal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 209, 255, 0.5);
}

.terminal-output {
    height: 100%;
    overflow-y: auto;
    font-family: var(--font-mono);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .window-controls {
        gap: 8px;
        margin-right: 12px;
    }
    
    .control {
        width: 14px;
        height: 14px;
    }
    
    .terminal-header {
        padding: 12px 20px;
    }
    
    .terminal-title {
        font-size: 14px;
    }
    
    .terminal-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .window-controls {
        gap: 6px;
        margin-right: 10px;
    }
    
    .control {
        width: 12px;
        height: 12px;
    }
    
    .terminal-header {
        padding: 10px 15px;
    }
    
    .terminal-title {
        font-size: 13px;
    }
    
    .terminal-content {
        padding: 20px 15px;
    }
} 