﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgb(0, 186, 190) 0%, rgb(0, 156, 166) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.main-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 0;
    position: fixed;
    /*height: calc(100vh - 8rem);*/
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 0 2rem 2rem 2rem;
    border-bottom: 2px solid rgba(0, 186, 190, 0.2);
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.sidebar-subtitle {
    color: rgb(0, 186, 190);
    font-size: 0.9rem;
    font-weight: 500;
}

.group-menu {
    list-style: none;
    padding: 0 1rem;
}

.group-menu-item {
    margin-bottom: 0.5rem;
}

.group-menu-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    /*border-radius: 12px;*/
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .group-menu-link:hover {
        background: rgba(0, 186, 190, 0.1);
        transform: translateX(5px);
    }

    .group-menu-link.active {
        background: linear-gradient(135deg, rgb(0, 186, 190), rgb(0, 156, 166));
        color: white;
        box-shadow: 0 8px 20px rgba(0, 186, 190, 0.3);
    }

        .group-menu-link.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: rgba(255, 255, 255, 0.8);
        }

.group-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    /*border-radius: 8px;*/
}

.group-menu-link.active .group-icon {
    background: rgba(255, 255, 255, 0.3);
}

.group-text {
    flex: 1;
}

.group-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.group-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Content Area */
.content-area {
    flex: 1;
    margin-top: 4rem;
    margin-left: 320px;
    padding: 2rem;
    background-color: #fff;
}

/* Page Title Section */
.page-title-section {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    /*border-radius: 20px;*/
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.page-title-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #fff;
}

.page-title-content nav ol {
    margin: 0;
    /*border-radius: 0;*/
    background: transparent;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 1rem;
    opacity: 0.9;
}

    .breadcrumb-item a {
        color: white;
        text-decoration: none;
        transition: opacity 0.3s ease;
    }

        .breadcrumb-item a:hover {
            opacity: 0.8;
        }

    .breadcrumb-item + .breadcrumb-item::before {
        content: "›";
        margin: 0 0.5rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .breadcrumb-item.active {
        font-weight: 500;
    }

.integration-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 186, 190, 0.1);
}
/* Integration Content */
.integration-content {
    background: rgba(255, 255, 255, 0.95);
    /*border-radius: 20px;*/
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid rgb(0, 186, 190);
}

.content-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(0, 186, 190), rgb(0, 156, 166));
    /*border-radius: 15px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 186, 190, 0.3);
}

.content-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.integration-card {
    background: white;
    /*border-radius: 15px;*/
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0, 186, 190, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .integration-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, rgb(0, 186, 190), rgb(0, 156, 166));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .integration-card:hover::before {
        transform: scaleX(1);
    }

    .integration-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    }

.integration-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.integration-icon {
    width: 80px;
    height: 80px;
    background: white;
    /*border-radius: 12px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    padding: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

    .integration-icon img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.integration-features {
    margin-top: 1rem;
}

.feature-title {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.integration-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.integration-item {
    display: flex;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: #4a5568;
}

    .integration-item i {
        color: rgb(0, 186, 190);
        margin-right: 0.8rem;
        font-size: 0.9rem;
        width: 20px;
        text-align: center;
    }

.integration-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

.integration-btn {
    background: linear-gradient(135deg, rgb(0, 186, 190), rgb(0, 156, 166));
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    /*border-radius: 8px;*/
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 186, 190, 0.3);
}

    .integration-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(0, 186, 190, 0.4);
    }

/* Mobile Responsive */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 6.75rem;
    z-index: 999;
    background: #00babe;
    border: none;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    padding: 0.8rem 0.1rem;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 1px 10px #00babe !important;
    color: #fff;
}

    .mobile-menu-toggle > i {
        pointer-events: none;
    }

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }

        .sidebar.active {
            transform: translateX(0);
        }

    .content-area {
        margin-left: 0;
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .page-title-content h3 {
        font-size: 2rem;
        margin-top: 3rem;
    }

    .integration-content {
        padding: 1.5rem;
    }

    .integration-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    opacity: 0;
    transform: translateX(30px);
    animation: slideIn 0.4s ease-out forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}
/* Welcome Content */
.welcome-content {
    background: rgba(255, 255, 255, 0.95);
    /*padding: 1rem !important;*/
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    /*margin-bottom: 2rem;*/
    text-align: center;
}

.welcome-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: rgb(0, 186, 190);
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.welcome-text {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.welcome-content,
.integration-content {
    padding: 1.5rem;
}

.integration-page-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    border-bottom: 1px solid rgba(0, 186, 190, 0.2);
}

.integration-page-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    margin-left: 0;
}

.integration-page-header-left {
    display: flex;
    align-items: center;
}

.integration-page-logo-link {
    background: #00babe;
}

.integration-page-logo {
    margin: 0px 0px 0px 1rem !important;
    padding: 0.5rem !important;
    height: 100% !important;
    width: 150px !important;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > ul > li {
    position: relative;
    margin: 0 10px;
}

.main-nav a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.main-nav > ul > li > a:hover {
    color: rgb(0, 186, 190);
    background: rgba(0, 186, 190, 0.1);
}

.main-nav i.fa-chevron-down {
    margin-left: 5px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Submenu Styles */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    flex-direction: column;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    padding: 8px 20px;
    color: #4a5568;
    display: block;
}

    .submenu a:hover {
        color: rgb(0, 186, 190);
        background: rgba(0, 186, 190, 0.05);
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2d3748;
    cursor: pointer;
    margin-left: 15px;
}

/* New Dropdown Mobile Menu Styles */
.mobile-menu-dropdown {
    position: fixed;
    top: 70px; /* Header height */
    left: 0;
    right: 0;
    background: #00babe;
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

    .mobile-menu-dropdown.active {
        max-height: 500px;
    }

.mobile-menu-content {
    padding: 15px 20px;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.mobile-menu-item > a:hover {
    color: #d2dada !important;
}

.mobile-submenu {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .mobile-submenu.active {
        max-height: 500px;
    }

    .mobile-submenu li {
        padding: 8px 0;
    }

    .mobile-submenu a {
        display: block;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 400;
    }

        .mobile-submenu a:hover {
            color: white;
        }

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (min-width: 992px) {

    .mobile-menu-dropdown {
        display: none;
    }

    .integration-page-header {
        margin-left: 320px;
    }

    footer.footer {
        margin-left: 320px;
    }
}
