/* Main Styles */
body {
    background-color: #f8f9fa;
}

/* YAML Output Styling */
.yaml-output {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    color: #333;
}

/* Preview Output Styling */
.preview-output {
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

/* Form Sections */
.ip-config-section {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background-color: #f8f9fa;
}

/* Tabs customization */
.nav-tabs .nav-link {
    color: #495057;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    font-weight: 500;
}

/* Card styling */
.card-header-tabs .nav-link {
    padding: 0.5rem;
}

/* Component dropdown styling */
#componentDropdown {
    min-width: 200px;
}

/* Deprecated button styling */
.btn-outline-secondary[data-bs-toggle="tooltip"] {
    border-style: dashed;
}

/* Hide spinners for number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sticky-top {
        position: relative;
        top: 0 !important;
        margin-top: 20px;
    }
}