/* Custom styles for TCLPad */

/* Tab styling */
.tab-button {
    transition: all 0.3s ease;
}

.tab-button:not(.active) {
    border-bottom-color: transparent;
    color: #718096;
}

.tab-button:hover:not(.active) {
    border-bottom-color: #CBD5E0;
    color: #4A5568;
}

/* CodeMirror customization */
.CodeMirror {
    height: 300px;
    border: 1px solid #E2E8F0;
    border-radius: 0.375rem;
    font-family: 'Fira Code', monospace, 'Courier New', Courier;
    font-size: 14px;
}

.CodeMirror-gutters {
    border-right: 1px solid #E2E8F0;
    background-color: #F7FAFC;
}

/* Button hover effects */
button {
    transition: all 0.2s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Output display formatting */
#output-display {
    font-family: 'Consolas', monospace;
    white-space: pre-wrap;
}

/* Adding some animation for tab transitions */
.tab-content {
    transition: opacity 0.3s ease;
}

.tab-content.hidden {
    display: none;
    opacity: 0;
}

.tab-content:not(.hidden) {
    display: block;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .CodeMirror {
        font-size: 12px;
    }
    
    #function-name {
        margin-top: 1rem;
    }
} 