/* Documentation page specific styles */
.docs-hero {
    background: linear-gradient(135deg, #1a2a6c 0%, #43aff2 100%);
    color: white;
    padding: 80px 20px;
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
}

.docs-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 42, 108, 0.75);
}

.docs-section {
    padding: 3rem 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a2a6c;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
background: linear-gradient(90deg, #1a2a6c, #43aff2);
    margin: 1rem 0 0;
    border-radius: 2px;
}

.text-center .section-title:after {
    margin: 1rem auto 0;
}

/* Sidebar Navigation */
.docs-sidebar {
    background: #f8f9fa;
    border-radius: 0.75rem;
    padding: 2rem;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.docs-sidebar::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.docs-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

.docs-sidebar h4 {
    color: #1a2a6c;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.docs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-nav-section {
    margin-bottom: 1.5rem;
}

.docs-nav-section-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
 margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docs-nav li {
    margin-bottom: 0.5rem;
}

.docs-nav a {
    color: #5a6c7d;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.docs-nav a i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    color: #43aff2;
}

.docs-nav a:hover {
    background: white;
    color: #1a2a6c;
    padding-left: 1rem;
}

.docs-nav a.active {
    background: white;
    color: #1a2a6c;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Documentation Content Cards */
.docs-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.docs-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.docs-card h2 {
    color: #1a2a6c;
 font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.docs-card h3 {
    color: #1a2a6c;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.docs-card h3 i {
    margin-right: 0.75rem;
    font-size: 1.3rem;
    color: #43aff2;
}

.docs-card h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
font-size: 1.2rem;
}

.docs-card p,
.docs-card li {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.docs-card ul,
.docs-card ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.docs-card li {
    margin-bottom: 0.75rem;
}

/* Code Blocks */
.code-block {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 0.5rem;
 margin: 1.5rem 0;
 overflow-x: auto;
    position: relative;
}

.code-block code {
  font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-block .code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-block .code-language {
    color: #90cdf4;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.code-block .copy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.375rem 0.75rem;
border-radius: 0.375rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-block .copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Info Boxes */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
  padding: 1.25rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.info-box.success {
    background: #e8f5e9;
border-left-color: #4caf50;
}

.info-box.warning {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.info-box.danger {
    background: #ffebee;
  border-left-color: #f44336;
}

.info-box p {
    margin-bottom: 0;
    color: #5a6c7d;
}

.info-box i {
    margin-right: 0.5rem;
}

/* Step Cards */
.step-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
  border-color: #43aff2;
    box-shadow: 0 5px 15px rgba(67, 175, 242, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
 width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1a2a6c 0%, #43aff2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.step-card h4 {
    margin-top: 0.5rem;
    color: #1a2a6c;
}

/* Quick Links */
.quick-link-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.quick-link-card:hover {
    border-color: #43aff2;
transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.quick-link-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.quick-link-card:hover .quick-link-icon {
    transform: scale(1.1);
}

.quick-link-card h5 {
    color: #1a2a6c;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
  color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Search Box */
.docs-search {
  position: relative;
    margin-bottom: 2rem;
}

.docs-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 3rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.docs-search input:focus {
    border-color: #43aff2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 175, 242, 0.1);
}

.docs-search .search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
}

/* Breadcrumb */
.docs-breadcrumb {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.docs-breadcrumb a {
    color: #43aff2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.docs-breadcrumb a:hover {
    color: #1a2a6c;
}

.docs-breadcrumb .separator {
    color: #cbd5e0;
    margin: 0 0.5rem;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  border-radius: 0.75rem;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Table Styles */
.docs-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e9ecef;
  border-radius: 0.5rem;
    overflow: hidden;
}

.docs-table thead {
    background: linear-gradient(135deg, #1a2a6c 0%, #43aff2 100%);
    color: white;
}

.docs-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.docs-table td {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    color: #5a6c7d;
}

.docs-table tbody tr:hover {
    background: #f8f9fa;
}

/* Feedback Section */
.docs-feedback {
    background: linear-gradient(135deg, #1a2a6c 0%, #43aff2 100%);
 color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.docs-feedback h4 {
    color: white;
    margin-bottom: 1rem;
}

.docs-feedback p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

/* Animation classes */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive styles */
@media (max-width: 991px) {
    .docs-sidebar {
        position: static;
        margin-bottom: 2rem;
        max-height: none;
    }

    .docs-hero {
      padding: 60px 20px;
    }

  .docs-card {
padding: 2rem;
    }

    .code-block {
font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .docs-card h2 {
        font-size: 1.5rem;
    }

    .docs-card h3 {
        font-size: 1.3rem;
    }

    .step-card {
        padding: 1.5rem;
    }
}
