/* ==========================================
   DOC PAGE - Premium Modern Design
   ========================================== */

/* Header Shrink Effect */
.UfcNavbar.scrolled {
    padding-top: 5px !important;
}

.UfcNavbar.scrolled .SearchDiv {
    height: 0 !important;
    margin-top: 0 !important;
    overflow: hidden;
}

.UfcNavbar.scrolled .background_logo {
    opacity: 0;
}

/* Page Container */
.doc-page {
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: calc(100vh - 200px);
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.doc-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.doc-hero {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #9B2C9B 0%, #6B1F6B 50%, #4a1a4a 100%);
    border-radius: 24px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(155, 44, 155, 0.3);
}

.doc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.doc-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.doc-hero-icon .material-icons {
    font-size: 40px;
    color: white;
}

.doc-main-title {
    font-size: 32px;
    font-weight: 600;
    color: white;
    margin: 0 0 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.doc-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Card */
.doc-content-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Section Title */
.doc-section {
    padding: 30px 40px;
    border-bottom: 1px solid #f0f0f0;
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.doc-section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #9B2C9B 0%, #6B1F6B 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-section-icon .material-icons {
    font-size: 26px;
    color: white;
}

.doc-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d2d2d;
    margin: 0;
}

/* Regular Items */
.doc-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.doc-item:hover {
    background: #f0f4f8;
    border-left-color: #9B2C9B;
    transform: translateX(5px);
}

.doc-item-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #9B2C9B 0%, #6B1F6B 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.doc-item-content {
    flex: 1;
}

.doc-item-text {
    font-size: 16px;
    font-weight: 500;
    color: #2d2d2d;
    margin: 0 0 5px;
    line-height: 1.5;
}

.doc-item-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Link Items */
.doc-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-radius: 14px;
    border: 1px solid #ffe0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doc-link-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, #d32f2f 0%, #9B2C9B 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.doc-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.15);
    border-color: #d32f2f;
}

.doc-link-item:hover::before {
    transform: scaleY(1);
}

.doc-link-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.doc-link-item:hover .doc-link-icon {
    transform: scale(1.1);
}

.doc-link-icon .material-icons {
    font-size: 24px;
    color: white;
}

.doc-link-content {
    flex: 1;
}

.doc-link-title {
    font-size: 17px;
    font-weight: 600;
    color: #d32f2f;
    margin: 0 0 4px;
    transition: color 0.3s ease;
}

.doc-link-item:hover .doc-link-title {
    color: #b71c1c;
}

.doc-link-desc {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

.doc-link-arrow {
    color: #d32f2f;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.doc-link-item:hover .doc-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Empty State */
.doc-empty {
    text-align: center;
    padding: 60px 40px;
}

.doc-empty-icon {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

.doc-empty-text {
    font-size: 18px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    .doc-page {
        padding-top: 20px;
        padding-bottom: 40px;
    }
    
    .doc-hero {
        padding: 35px 25px;
        border-radius: 16px;
        margin-bottom: 25px;
    }
    
    .doc-hero-icon {
        width: 60px;
        height: 60px;
    }
    
    .doc-hero-icon .material-icons {
        font-size: 30px;
    }
    
    .doc-main-title {
        font-size: 24px;
    }
    
    .doc-subtitle {
        font-size: 14px;
    }
    
    .doc-section {
        padding: 25px 20px;
    }
    
    .doc-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .doc-section-title {
        font-size: 18px;
    }
    
    .doc-item {
        padding: 15px;
    }
    
    .doc-link-item {
        padding: 16px;
    }
    
    .doc-link-icon {
        width: 40px;
        height: 40px;
    }
    
    .doc-link-title {
        font-size: 15px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doc-hero {
    animation: fadeInUp 0.6s ease;
}

.doc-content-card {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.doc-section {
    animation: fadeInUp 0.5s ease both;
}

.doc-section:nth-child(1) { animation-delay: 0.3s; }
.doc-section:nth-child(2) { animation-delay: 0.4s; }
.doc-section:nth-child(3) { animation-delay: 0.5s; }
