/* Muhasebe Portal - Ziyaretçi CSS Dosyası - Profesyonel Kurumsal Tasarım */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00173a;
    --primary-dark: #000d1f;
    --primary-light: #003366;
    --accent-color: #004d99;
    --secondary-color: #1a4d7a;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --text-muted: #95a5a6;
    --bg-color: #f5f7fa;
    --bg-light: #ffffff;
    --white: #ffffff;
    --border-color: #e1e8ed;
    --border-light: #f0f3f6;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --card-shadow: 0 2px 8px rgba(0,23,58,0.08);
    --card-shadow-hover: 0 8px 24px rgba(0,23,58,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Bölümü */
.visitor-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,23,58,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 72px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: 20px;
}

/* Hamburger Menu Button */
.hamburger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: var(--transition);
}

.hamburger-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: all;
}

.visitor-header h1 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.visitor-header h1 i {
    font-size: 24px;
    opacity: 0.95;
}

.visitor-header-logo {
    margin: 0;
}

.visitor-header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.visitor-header-date {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 0.2px;
}

.visitor-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 14px;
    font-weight: 500;
}

.user-info i {
    opacity: 0.9;
}

/* Sidebar Bölümü */
.visitor-sidebar {
    position: fixed;
    left: 0;
    top: 72px;
    width: 260px;
    height: calc(100vh - 72px);
    background: var(--primary-dark);
    color: var(--white);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 999;
    box-shadow: 2px 0 16px rgba(0,0,0,0.08);
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.visitor-sidebar::-webkit-scrollbar {
    width: 6px;
}

.visitor-sidebar::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

.visitor-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
}

.visitor-sidebar-menu {
    list-style: none;
    padding: 24px 0;
}

.visitor-sidebar-menu li {
    margin: 2px 0;
}

.visitor-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    border-left: 3px solid transparent;
}

.visitor-sidebar-menu a:hover {
    background-color: rgba(255,255,255,0.08);
    color: var(--white);
    padding-left: 28px;
}

.visitor-sidebar-menu a.active {
    background-color: rgba(255,255,255,0.12);
    border-left-color: var(--white);
    color: var(--white);
    font-weight: 600;
}

.visitor-sidebar-menu a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    opacity: 0.9;
}

/* Alt Menü */
.visitor-sidebar-submenu {
    list-style: none;
    background-color: rgba(0,0,0,0.15);
    display: none;
    padding: 8px 0;
}

.visitor-sidebar-submenu.active {
    display: block;
}

.visitor-sidebar-submenu li a {
    padding-left: 58px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
}

.visitor-sidebar-submenu li a:hover {
    background-color: rgba(255,255,255,0.06);
    color: var(--white);
}

/* İçerik Bölümü */
.visitor-content {
    margin-left: 260px;
    margin-top: 72px;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Hoşgeldin Bölümü */
.welcome-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 30px 40px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.welcome-section h2 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.welcome-section p {
    font-size: 16px;
    opacity: 0.92;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Mevzuat Bölümü */
.mevzuat-section {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.section-header h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.3px;
}

.section-header h3 i {
    font-size: 22px;
    opacity: 0.9;
}

.mevzuat-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (max-width: 768px) {
    .mevzuat-list {
        grid-template-columns: 1fr;
    }
}

.mevzuat-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    border-left: 3px solid transparent;
    background: var(--white);
    margin-bottom: 8px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.mevzuat-item-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.mevzuat-date-box {
    flex-shrink: 0;
    width: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.mevzuat-date-month {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.mevzuat-date-day {
    background: white;
    text-align: center;
    padding: 10px 4px;
}

.mevzuat-date-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 4px;
}

.mevzuat-date-weekday {
    font-size: 11px;
    color: var(--text-light);
    text-transform: capitalize;
}

/* Kompakt tarih kutusu - daha küçük ve yıl ile */
.mevzuat-date-box-compact {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 23, 58, 0.15);
}

.mevzuat-date-month-compact {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2px;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

.mevzuat-date-day-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}

.mevzuat-date-number-compact {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.mevzuat-date-year-compact {
    font-size: 9px;
    opacity: 0.85;
    font-weight: 500;
}

.mevzuat-item-content {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 80px;
}

.mevzuat-item:hover {
    background-color: #fafbfc;
    border-left-color: var(--primary-color);
    border-color: var(--border-color);
    box-shadow: 0 2px 8px rgba(0,23,58,0.06);
    transform: translateX(4px);
}

.mevzuat-item[onclick] {
    cursor: pointer;
}

.mevzuat-item[onclick]:hover {
    background-color: #f0f7ff;
    border-left-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,23,58,0.1);
    transform: translateX(6px);
}

/* Resmi Gazete Kartları */
.gazete-card {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    padding: 24px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gazete-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.gazete-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0,23,58,0.12);
    transform: translateY(-2px);
}

.gazete-card:hover::before {
    transform: scaleY(1);
}

.gazete-card:hover .fa-chevron-right {
    opacity: 1;
    transform: translateX(5px);
}

/* Resmi Gazete Tablosu */
.gazete-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.gazete-table thead {
    background: var(--primary-color);
    color: var(--white);
}

.gazete-table thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gazete-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.gazete-table tbody tr:last-child {
    border-bottom: none;
}

.gazete-table tbody tr:hover {
    background-color: #f8f9fa;
}

.gazete-table tbody td {
    padding: 15px;
    vertical-align: top;
}

.mevzuat-item:last-child {
    margin-bottom: 0;
}

.mevzuat-item-title {
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mevzuat Detay Sayfası */
.mevzuat-detail-section {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid var(--border-light);
}

.mevzuat-detail-header {
    display: block;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-light);
}

.mevzuat-detail-title h1 {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.mevzuat-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 10px;
}

/* Yeni Kurumsal Mevzuat Detay Başlık Tasarımı */
.mevzuat-detail-header-modern {
    background: linear-gradient(135deg, rgba(0, 23, 58, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 5px solid var(--primary-color);
    padding: 35px 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.mevzuat-detail-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 23, 58, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    pointer-events: none;
}

.mevzuat-header-top {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.mevzuat-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #002d5f 100%);
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 23, 58, 0.25);
    transition: all 0.3s ease;
}

.mevzuat-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 23, 58, 0.35);
}

.mevzuat-category-badge i {
    font-size: 12px;
    opacity: 0.9;
}

.mevzuat-date-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.mevzuat-date-modern i {
    color: var(--primary-color);
    font-size: 16px;
}

.mevzuat-date-modern span:first-of-type {
    color: var(--text-color);
    font-weight: 700;
}

.mevzuat-date-day-name {
    color: var(--text-light);
    font-weight: 500;
    font-size: 13px;
    margin-left: 5px;
}

.mevzuat-detail-title-modern {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    margin: 0;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* Responsive Tasarım - Mevzuat Detay */
@media (max-width: 768px) {
    .mevzuat-detail-header-modern {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .mevzuat-detail-title-modern {
        font-size: 26px;
        line-height: 1.4;
    }
    
    .mevzuat-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .mevzuat-category-badge,
    .mevzuat-date-modern {
        font-size: 13px;
        padding: 8px 16px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mevzuat-detail-title-modern {
        font-size: 32px;
    }
}

.mevzuat-detail-content {
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.9;
    padding: 40px 0;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.mevzuat-detail-content p {
    margin-bottom: 22px;
    text-align: justify;
    word-spacing: 0.05em;
}

.mevzuat-detail-content ul,
.mevzuat-detail-content ol {
    margin: 25px 0;
    padding-left: 40px;
    line-height: 1.9;
}

.mevzuat-detail-content li {
    margin-bottom: 12px;
    font-size: 18px;
}

.mevzuat-detail-content strong {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.mevzuat-detail-content h2 {
    color: var(--primary-color);
    margin-top: 45px;
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.mevzuat-detail-content h3 {
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.mevzuat-detail-content h4 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.4;
}

/* Mevzuat detay içerik wrapper */
.mevzuat-detail-content-wrapper {
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* PDF Embed - Tam Ekran Görünüm */
.mevzuat-pdf-embed {
    width: 100%;
    margin: 20px 0;
    position: relative;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mevzuat-pdf-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    display: block;
    min-height: 900px;
    min-width: 100%;
}

/* Responsive PDF yüksekliği - Tam ekran görünüm */
@media (min-width: 1200px) {
    .mevzuat-pdf-embed {
        height: calc(100vh - 200px);
        min-height: 900px;
    }
    
    .mevzuat-pdf-embed iframe {
        min-height: 900px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .mevzuat-pdf-embed {
        height: calc(100vh - 180px);
        min-height: 800px;
    }
    
    .mevzuat-pdf-embed iframe {
        min-height: 800px;
    }
}

@media (max-width: 767px) {
    .mevzuat-pdf-embed {
        height: calc(100vh - 150px);
        min-height: 600px;
    }
    
    .mevzuat-pdf-embed iframe {
        min-height: 600px;
    }
}

/* Mevzuat içeriğindeki tabloları site tasarımına uyarla */
.mevzuat-detail-content table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
    background: transparent !important;
    border: none;
    font-size: 14px;
    line-height: 1.6;
    font-family: inherit !important;
}

.mevzuat-detail-content table[width] {
    width: 100% !important;
    max-width: 100% !important;
}

.mevzuat-detail-content table td[width],
.mevzuat-detail-content table th[width] {
    width: auto !important;
    max-width: 100% !important;
}

.mevzuat-detail-content table td,
.mevzuat-detail-content table th {
    padding: 12px 15px !important;
    border: none;
    vertical-align: top;
    text-align: left;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--text-color) !important;
    background: transparent !important;
    font-family: inherit !important;
}

.mevzuat-detail-content table th {
    background: transparent !important;
    color: var(--text-color) !important;
    font-weight: 600;
}

.mevzuat-detail-content table tr {
    background: transparent !important;
}

.mevzuat-detail-content table tr:nth-child(even) {
    background: transparent !important;
}

.mevzuat-detail-content table tr:hover {
    background: transparent !important;
}

/* Paragraf stilleri */
.mevzuat-detail-content p[class] {
    margin-bottom: 15px;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: var(--text-color) !important;
    font-family: inherit !important;
    background: transparent !important;
}

.mevzuat-detail-content p.MsoNormal,
.mevzuat-detail-content p.Metin,
.mevzuat-detail-content p.OrtaBalkBold,
.mevzuat-detail-content p.Balk11pt {
    margin-bottom: 15px;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: var(--text-color) !important;
    text-align: justify;
    font-family: inherit !important;
    background: transparent !important;
}

.mevzuat-detail-content p.OrtaBalkBold {
    text-align: center;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin: 20px 0;
    font-family: inherit !important;
    background: transparent !important;
}

/* Span stilleri */
.mevzuat-detail-content span {
    font-size: inherit !important;
    color: inherit !important;
    font-family: inherit !important;
    background: transparent !important;
}

.mevzuat-detail-content span[style*="font-size"] {
    font-size: 15px !important;
}

.mevzuat-detail-content span[style*="color"] {
    color: var(--text-color) !important;
}

.mevzuat-detail-content span[style*="font-family"] {
    font-family: inherit !important;
}

.mevzuat-detail-content span[style*="background"] {
    background: transparent !important;
}

/* Başlık stilleri */
.mevzuat-detail-content b {
    font-weight: 700;
    color: var(--primary-color);
}

/* Link stilleri */
.mevzuat-detail-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.mevzuat-detail-content a:hover {
    color: #003d7a;
    text-decoration: underline;
}

/* Tüm inline stillerdeki boyutlandırmaları devre dışı bırak */
.mevzuat-detail-content [style*="width"] {
    width: auto !important;
    max-width: 100% !important;
}

.mevzuat-detail-content [style*="height"] {
    height: auto !important;
}

.mevzuat-detail-content [style*="font-size"] {
    font-size: 15px !important;
}

.mevzuat-detail-content [style*="line-height"] {
    line-height: 1.8 !important;
}

.mevzuat-detail-content [style*="font-family"] {
    font-family: inherit !important;
}

.mevzuat-detail-content [style*="background"] {
    background: transparent !important;
}

.mevzuat-detail-content [style*="background-color"] {
    background-color: transparent !important;
}

/* Tablo hücrelerindeki padding ve border stilleri */
.mevzuat-detail-content table td[style*="padding"],
.mevzuat-detail-content table th[style*="padding"] {
    padding: 12px 15px !important;
}

.mevzuat-detail-content table td[style*="border"],
.mevzuat-detail-content table th[style*="border"] {
    border: none !important;
}

.mevzuat-detail-content table td[style*="background"],
.mevzuat-detail-content table th[style*="background"] {
    background: transparent !important;
}

.mevzuat-detail-content table td[style*="background-color"],
.mevzuat-detail-content table th[style*="background-color"] {
    background-color: transparent !important;
}

/* Responsive tablolar ve içerik */
@media (max-width: 768px) {
    .mevzuat-detail-content {
        font-size: 16px;
        line-height: 1.8;
        padding: 30px 15px;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mevzuat-detail-content p {
        margin-bottom: 18px;
        text-align: left;
    }
    
    .mevzuat-detail-content h2 {
        font-size: 26px;
        margin-top: 35px;
        margin-bottom: 20px;
    }
    
    .mevzuat-detail-content h3 {
        font-size: 22px;
        margin-top: 30px;
        margin-bottom: 18px;
    }
    
    .mevzuat-detail-content h4 {
        font-size: 19px;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    
    .mevzuat-detail-content ul,
    .mevzuat-detail-content ol {
        margin: 20px 0;
        padding-left: 30px;
    }
    
    .mevzuat-detail-content li {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .mevzuat-detail-content strong {
        font-size: 16px;
    }
    
    .mevzuat-detail-content table {
        font-size: 13px;
        min-width: 100%;
    }
    
    .mevzuat-detail-content table td,
    .mevzuat-detail-content table th {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }
}

/* Tablet için optimize edilmiş içerik */
@media (min-width: 769px) and (max-width: 1024px) {
    .mevzuat-detail-content {
        font-size: 17px;
        max-width: 850px;
        padding: 35px 20px;
    }
    
    .mevzuat-detail-content h2 {
        font-size: 30px;
    }
    
    .mevzuat-detail-content h3 {
        font-size: 24px;
    }
    
    .mevzuat-detail-content h4 {
        font-size: 20px;
    }
}

/* Resmi Gazete Detay İçerik Stilleri */
.gazete-detail-content-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gazete-detail-content {
    color: var(--text-color);
    line-height: 1.9;
    font-size: 15px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

/* Resmi Gazete içeriğindeki tabloları site tasarımına uyarla */
.gazete-detail-content table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse;
    margin: 20px 0;
    background: transparent !important;
    border: none;
    font-size: 14px;
    line-height: 1.6;
    font-family: inherit !important;
}

.gazete-detail-content table[width] {
    width: 100% !important;
    max-width: 100% !important;
}

.gazete-detail-content table td[width],
.gazete-detail-content table th[width] {
    width: auto !important;
    max-width: 100% !important;
}

.gazete-detail-content table td,
.gazete-detail-content table th {
    padding: 12px 15px !important;
    border: none;
    vertical-align: top;
    text-align: left;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--text-color) !important;
    background: transparent !important;
    font-family: inherit !important;
}

.gazete-detail-content table th {
    background: transparent !important;
    color: var(--text-color) !important;
    font-weight: 600;
}

.gazete-detail-content table tr {
    background: transparent !important;
}

.gazete-detail-content table tr:nth-child(even) {
    background: transparent !important;
}

.gazete-detail-content table tr:hover {
    background: transparent !important;
}

/* Paragraf stilleri */
.gazete-detail-content p[class] {
    margin-bottom: 15px;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: var(--text-color) !important;
    font-family: inherit !important;
    background: transparent !important;
}

.gazete-detail-content p.MsoNormal,
.gazete-detail-content p.Metin,
.gazete-detail-content p.OrtaBalkBold,
.gazete-detail-content p.Balk11pt {
    margin-bottom: 15px;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: var(--text-color) !important;
    text-align: justify;
    font-family: inherit !important;
    background: transparent !important;
}

.gazete-detail-content p.OrtaBalkBold {
    text-align: center;
    font-weight: 700;
    color: var(--primary-color) !important;
    margin: 20px 0;
    font-family: inherit !important;
    background: transparent !important;
}

/* Span stilleri */
.gazete-detail-content span {
    font-size: inherit !important;
    color: inherit !important;
    font-family: inherit !important;
    background: transparent !important;
}

.gazete-detail-content span[style*="font-size"] {
    font-size: 15px !important;
}

.gazete-detail-content span[style*="color"] {
    color: var(--text-color) !important;
}

.gazete-detail-content span[style*="font-family"] {
    font-family: inherit !important;
}

.gazete-detail-content span[style*="background"] {
    background: transparent !important;
}

/* Başlık stilleri */
.gazete-detail-content b {
    font-weight: 700;
    color: var(--primary-color);
}

/* Link stilleri */
.gazete-detail-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.gazete-detail-content a:hover {
    color: #003d7a;
    text-decoration: underline;
}

/* Tüm inline stillerdeki boyutlandırmaları devre dışı bırak */
.gazete-detail-content [style*="width"] {
    width: auto !important;
    max-width: 100% !important;
}

.gazete-detail-content [style*="height"] {
    height: auto !important;
}

.gazete-detail-content [style*="font-size"] {
    font-size: 15px !important;
}

.gazete-detail-content [style*="line-height"] {
    line-height: 1.8 !important;
}

.gazete-detail-content [style*="font-family"] {
    font-family: inherit !important;
}

.gazete-detail-content [style*="background"] {
    background: transparent !important;
}

.gazete-detail-content [style*="background-color"] {
    background-color: transparent !important;
}

/* Tablo hücrelerindeki padding ve border stilleri */
.gazete-detail-content table td[style*="padding"],
.gazete-detail-content table th[style*="padding"] {
    padding: 12px 15px !important;
}

.gazete-detail-content table td[style*="border"],
.gazete-detail-content table th[style*="border"] {
    border: none !important;
}

.gazete-detail-content table td[style*="background"],
.gazete-detail-content table th[style*="background"] {
    background: transparent !important;
}

.gazete-detail-content table td[style*="background-color"],
.gazete-detail-content table th[style*="background-color"] {
    background-color: transparent !important;
}

/* Responsive tablolar */
@media (max-width: 768px) {
    .gazete-detail-content-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .gazete-detail-content table {
        font-size: 13px;
        min-width: 100%;
    }
    
    .gazete-detail-content table td,
    .gazete-detail-content table th {
        padding: 10px 8px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 768px) {
    .mevzuat-detail-header {
        flex-direction: column;
    }
    
    .mevzuat-detail-title h1 {
        font-size: 20px;
    }
    
    .mevzuat-detail-section {
        padding: 20px;
    }
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    padding: 10px 0;
}

.view-all-link:hover {
    color: var(--primary-light);
    gap: 12px;
}

.view-all-link i {
    transition: var(--transition);
}

/* Uygulamalar Bölümü */
.uygulamalar-section {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.category-filter {
    margin-bottom: 28px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.category-btn {
    padding: 10px 22px;
    background: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.2px;
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0,23,58,0.02);
}

.category-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,23,58,0.15);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.app-box {
    background: var(--white);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    padding: 28px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    display: block;
    position: relative;
    overflow: hidden;
}

.app-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.app-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
    background: var(--white);
}

.app-box:hover::before {
    transform: scaleX(1);
}

.app-box-icon {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: block;
    transition: var(--transition);
}

.app-box:hover .app-box-icon {
    transform: scale(1.1);
}

.app-box-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-color);
    margin-top: 12px;
    line-height: 1.4;
    letter-spacing: 0.1px;
}

/* Form Stilleri */
.form-container {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    max-width: 500px;
    margin: 50px auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-color);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,23,58,0.08);
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0,23,58,0.2);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,23,58,0.3);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-danger {
    background-color: var(--danger-color);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* Alert Mesajları */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Hızlı Menü Floating Button (Sağ Alt Köşe) - Basit ve Sade Tasarım */
.hizli-menu-floating-btn {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    z-index: 1999 !important;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0, 23, 58, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hizli-menu-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 23, 58, 0.3);
    background: var(--primary-light);
}

.hizli-menu-floating-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hizli-menu-floating-btn:hover .hizli-menu-floating-icon {
    background: rgba(255, 255, 255, 0.25);
}

.hizli-menu-floating-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Hızlı Menü Modal */
.hizli-menu-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hizli-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hizli-menu-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    z-index: 2001;
    border: 1px solid var(--border-light);
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hizli-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    background: var(--primary-color);
    color: var(--white);
}

.hizli-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hizli-menu-header h3 i {
    font-size: 20px;
}

.hizli-menu-close {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 16px;
}

.hizli-menu-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hizli-menu-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.hizli-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.hizli-menu-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 16px 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 23, 58, 0.08);
}

.hizli-menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 23, 58, 0.15);
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.hizli-menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.hizli-menu-item:hover .hizli-menu-icon {
    background: var(--primary-light);
}

.hizli-menu-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    transition: all 0.2s ease;
}

.hizli-menu-item:hover .hizli-menu-title {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .apps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger-menu-btn {
        display: flex;
    }
    
    .visitor-header {
        padding: 0 12px;
        height: 60px;
        justify-content: space-between;
    }
    
    .visitor-header-logo {
        margin: 0;
        margin-left: 8px;
    }
    
    .visitor-header h1 {
        font-size: 16px;
        margin: 0;
    }
    
    .visitor-header h1 i {
        font-size: 18px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .visitor-header-right {
        gap: 8px;
        margin-left: auto;
    }
    
    .visitor-header-date {
        display: none;
    }
    
    /* Icon butonları - sadece icon */
    .calendar-icon-btn,
    .mevzuat-icon-btn {
        padding: 8px 10px !important;
        min-width: 40px;
        justify-content: center;
    }
    
    .icon-text {
        display: none !important;
    }
    
    .calendar-icon-wrapper,
    .mevzuat-icon-wrapper {
        display: block;
    }
    
    /* Hızlı Menü Floating Button - Mobil */
    .hizli-menu-floating-btn {
        bottom: 20px !important;
        right: 20px !important;
        left: auto !important;
        top: auto !important;
        padding: 14px 20px;
    }
    
    .hizli-menu-floating-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .hizli-menu-floating-text {
        font-size: 13px;
    }
    
    .hizli-menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .hizli-menu-content {
        max-width: 90%;
        margin: 20px;
    }
    
    .hizli-menu-header {
        padding: 20px;
    }
    
    .hizli-menu-body {
        padding: 20px;
    }
    
    .hizli-menu-item {
        padding: 20px 16px;
    }
    
    .hizli-menu-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .hizli-menu-title {
        font-size: 13px;
    }
    
    /* Mobil dropdown iyileştirmeleri */
    .calendar-dropdown,
    .mevzuat-dropdown {
        right: 0 !important;
        left: auto !important;
        min-width: 280px !important;
        max-width: 90vw !important;
        margin-top: 8px !important;
    }
    
    .mevzuat-dropdown {
        min-width: 300px !important;
        max-width: 90vw !important;
    }
    
    /* Giriş butonları - sadece icon */
    .btn-login {
        padding: 8px 10px !important;
        min-width: 40px;
        justify-content: center;
    }
    
    .btn-text {
        display: none;
    }
    
    .user-info {
        padding: 8px 10px !important;
        min-width: 40px;
        justify-content: center;
    }
    
    .user-name-text {
        display: none;
    }
    
    .visitor-sidebar {
        width: 280px;
        transform: translateX(-100%);
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .visitor-sidebar.active {
        transform: translateX(0);
    }
    
    .visitor-content {
        margin-left: 0;
        padding: 20px 16px;
        margin-top: 60px;
    }
    
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .welcome-section {
        padding: 24px 20px;
    }
    
    .welcome-section h2 {
        font-size: 22px;
    }
    
    .welcome-section p {
        font-size: 14px;
    }
    
    .mevzuat-section,
    .uygulamalar-section {
        padding: 20px 16px;
    }
    
    .widgets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .widget-card {
        padding: 16px;
    }
    
    .widget-value {
        font-size: 24px;
    }
    
    .widget-label {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .visitor-header {
        padding: 0 10px;
        height: 56px;
    }
    
    .hamburger-menu-btn {
        width: 28px;
        height: 28px;
    }
    
    .visitor-header-logo {
        margin: 0;
        margin-left: 8px;
    }
    
    .visitor-header h1 {
        font-size: 14px;
        margin: 0;
    }
    
    .visitor-header h1 i {
        font-size: 16px;
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .visitor-header-right {
        gap: 6px;
    }
    
    .calendar-icon-btn,
    .mevzuat-icon-btn {
        padding: 6px 8px !important;
        min-width: 36px;
    }
    
    /* Hızlı Menü Floating Button - Küçük Ekran */
    .hizli-menu-floating-btn {
        bottom: 15px !important;
        right: 15px !important;
        left: auto !important;
        top: auto !important;
        padding: 12px 18px;
        border-radius: 45px;
    }
    
    .hizli-menu-floating-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .hizli-menu-floating-text {
        font-size: 12px;
    }
    
    .hizli-menu-content {
        max-width: 95%;
        margin: 10px;
        border-radius: 12px;
    }
    
    .hizli-menu-header {
        padding: 16px;
    }
    
    .hizli-menu-header h3 {
        font-size: 18px;
    }
    
    .hizli-menu-body {
        padding: 16px;
    }
    
    .hizli-menu-item {
        padding: 12px 8px;
    }
    
    .hizli-menu-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .hizli-menu-title {
        font-size: 11px;
    }
    
    .btn-login {
        padding: 6px 8px !important;
        min-width: 36px;
    }
    
    .user-info {
        padding: 6px 8px !important;
        min-width: 36px;
    }
    
    .visitor-sidebar {
        width: 85%;
        max-width: 300px;
        top: 56px;
        height: calc(100vh - 56px);
    }
    
    .visitor-content {
        margin-top: 56px;
        padding: 16px 12px;
    }
    
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .app-card {
        padding: 16px 12px;
    }
    
    .app-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .app-name {
        font-size: 13px;
    }
    
    .welcome-section {
        padding: 20px 16px;
        border-radius: 10px;
    }
    
    .welcome-section h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .welcome-section p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .mevzuat-section,
    .uygulamalar-section {
        padding: 16px 12px;
    }
    
    .section-header {
        margin-bottom: 16px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    .widgets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .widget-card {
        padding: 14px;
        border-radius: 12px;
    }
    
    .widget-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .widget-value {
        font-size: 22px;
    }
    
    .widget-label {
        font-size: 11px;
    }
    
    .widgets-main-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .visitor-header-actions {
        gap: 8px;
    }
    
    .btn-login {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .user-info {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .visitor-sidebar-menu {
        padding: 16px 0;
    }
    
    .visitor-sidebar-menu a {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .visitor-sidebar-submenu li a {
        padding-left: 50px;
        font-size: 13px;
    }
}

/* Widget Stilleri - Kurumsal Tasarım */
.widgets-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.widget-card {
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.widget-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* İstatistik Widget'ları */
.widget-stat {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.widget-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Widget İkon Renkleri - Site Temasına Uygun */
.widget-icon-mevzuat {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.widget-icon-gazete {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.widget-icon-kanun {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
}

.widget-icon-uygulama {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
}

.widget-icon-takvim {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.widget-content {
    flex: 1;
}

.widget-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.widget-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.widget-link {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0,23,58,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
}

.widget-stat:hover .widget-link {
    opacity: 1;
    background: var(--primary-color);
    color: white;
}

/* Widget Header */
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    margin-bottom: 20px;
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.widget-title i {
    font-size: 20px;
    opacity: 0.9;
}

.widget-more {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.widget-more:hover {
    gap: 10px;
    color: var(--primary-light);
}

/* Widget Body */
.widget-body {
    padding: 0 24px 24px;
}

/* Ana Widget Grid */
.widgets-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

/* Takvim Widget - Modern Kurumsal Tasarım */
.widget-calendar {
    height: 500px;
    display: flex;
    flex-direction: column;
}

.mini-calendar {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.calendar-month {
    text-align: center;
    font-weight: 700;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 16px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,23,58,0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.calendar-month::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    flex: 1;
    min-height: 0;
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
    padding: 8px 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: rgba(0,23,58,0.04);
    border-radius: 6px;
}

.calendar-day-header.weekend {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.08);
}

.calendar-day {
    text-align: center;
    padding: 6px 4px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1.5px solid transparent;
    min-height: 40px;
    padding-top: 4px;
}

.calendar-day-number {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.calendar-event-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.3);
    margin-top: 2px;
}

.calendar-day:hover {
    background: rgba(0,23,58,0.08);
    transform: scale(1.03);
    border-color: rgba(0,23,58,0.1);
}

.calendar-day.weekend {
    color: #e74c3c;
}

.calendar-day.weekend:hover {
    background: rgba(231, 76, 60, 0.08);
    border-color: rgba(231, 76, 60, 0.2);
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0,23,58,0.25);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.calendar-day.today:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0,23,58,0.3);
}

.calendar-day.today.weekend {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-color: #e74c3c;
}

.calendar-day.has-event {
    background: linear-gradient(135deg, rgba(0,23,58,0.06) 0%, rgba(0,23,58,0.02) 100%);
    border: 1.5px solid var(--primary-color);
    font-weight: 600;
    color: var(--primary-color);
}

.calendar-day.has-event:hover {
    background: linear-gradient(135deg, rgba(0,23,58,0.1) 0%, rgba(0,23,58,0.04) 100%);
    border-color: var(--primary-light);
    transform: scale(1.03);
}

.calendar-day.has-event.weekend {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(231, 76, 60, 0.02) 100%);
    border-color: #e74c3c;
    color: #e74c3c;
}

.calendar-day.has-event.today {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-color: var(--primary-color);
    color: white;
}

.calendar-day.other-month {
    color: var(--text-light);
    opacity: 0.35;
    font-weight: 400;
}

.calendar-day.other-month:hover {
    background: rgba(0,23,58,0.03);
    opacity: 0.5;
}

/* Takvim Etkinlik Tooltip */
.calendar-event-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 14px;
    min-width: 220px;
    max-width: 300px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-day:hover .calendar-event-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.calendar-event-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: var(--white);
    z-index: 1;
}

.calendar-event-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--border-color);
    z-index: 0;
}

.calendar-event-tooltip-header {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 12px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendar-event-tooltip-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calendar-event-tooltip-item {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.5;
    border-left: 3px solid;
    transition: all 0.2s;
}

.calendar-event-tooltip-item:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.widget-calendar .widget-body {
    flex: 1;
    overflow: hidden;
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
}

/* Mevzuat Widget - Modern Kurumsal Tasarım */
.widget-mevzuat {
    height: 500px;
    display: flex;
    flex-direction: column;
}

.widget-mevzuat .widget-body {
    flex: 1;
    overflow: hidden;
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
}

.mevzuat-list-widget {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.mevzuat-item-widget {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.mevzuat-item-widget::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-light);
    border-radius: 2px;
    transition: var(--transition);
}

.mevzuat-item-widget:hover::before {
    background: var(--primary-color);
    width: 5px;
}

.mevzuat-item-widget:hover {
    transform: translateX(6px);
}

.mevzuat-item-widget .mevzuat-item-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mevzuat-item-widget:hover .mevzuat-item-wrapper {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0,23,58,0.1);
    background: linear-gradient(135deg, rgba(0,23,58,0.02) 0%, rgba(255,255,255,1) 100%);
}

.mevzuat-item-widget:hover .mevzuat-date-box-modern {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(0,23,58,0.25);
}

/* Modern Tarih Kutusu - Kompakt Tasarım */
.mevzuat-date-box-modern {
    flex-shrink: 0;
    width: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 8px;
    padding: 8px 4px;
    text-align: center;
    color: white;
    box-shadow: 0 2px 8px rgba(0,23,58,0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.mevzuat-date-box-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mevzuat-date-month-modern {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.95;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.mevzuat-date-day-modern {
    position: relative;
    z-index: 1;
}

.mevzuat-date-number-modern {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

.mevzuat-date-year-modern {
    font-size: 8px;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 1px;
}

.mevzuat-item-content-modern {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.mevzuat-item-title-modern {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.6;
    flex: 1;
    min-width: 0;
    transition: var(--transition);
    letter-spacing: -0.2px;
}

.mevzuat-item-widget:hover .mevzuat-item-title-modern {
    color: var(--primary-color);
}

.mevzuat-item-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0,23,58,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-8px);
}

.mevzuat-item-widget:hover .mevzuat-item-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--primary-color);
    color: white;
}

/* Uygulamalar Widget */
.widget-apps {
    margin-bottom: 30px;
}

.widget-apps:last-child {
    margin-bottom: 0;
}

.widget-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.widget-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.widget-empty p {
    font-size: 15px;
}

/* Responsive */
@media (max-width: 1200px) {
    .widgets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .widgets-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .widgets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .widget-stat {
        padding: 20px;
        gap: 15px;
    }
    
    .widget-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .widget-value {
        font-size: 28px;
    }
    
    .widget-header {
        padding: 20px 20px 0;
    }
    
    .widget-body {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .widgets-grid {
        grid-template-columns: 1fr;
    }
}

