/* Devices & Gateways Page Styles */

/* Tab Navigation Styles */
.tab-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.tab-button:hover {
    color: #111827;
    background-color: #f9fafb;
}

.tab-button.active {
    background-color: #111827;
    color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.tab-button.active span,
.tab-button.active i {
    color: #ffffff !important;
}

.tab-button.active:hover {
    background-color: #1f2937;
    color: #ffffff;
}

.tab-button.active:hover span,
.tab-button.active:hover i {
    color: #ffffff !important;
}

/* Content Section Styles */
.content-section {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky Tab Navigation */
.sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f9fafb;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .tab-button i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }
}

