/* Shared Header Component CSS - shared_header_ prefix sistemi */

/* =============================================================================
   RESPONSIVE HEADER WRAPPERS
   ========================================================================== */

/* Desktop Header Wrapper - 1025px ve üzeri için */
.shared_header_desktop-wrapper {
    display: block;
}

/* Mobile Header Wrapper - 1024px ve altı için */
.shared_header_mobile-wrapper {
    display: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .shared_header_desktop-wrapper {
        display: none;
    }
    
    .shared_header_mobile-wrapper {
        display: block;
    }
}

/* Ana Header Container */
.shared_header_header-section {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 30%, #f8f9fa 70%, #ecf0f1 100%);
    padding: 0;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #3498db, #2980b9, #808285, #95a5a6) 1;
}

.shared_header_header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(29,209,161,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.shared_header_header-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Header Container */
.shared_header_main-header {
    display: flex;
    align-items: stretch;
}

/* Left Side */
.shared_header_header-left {
    width: 220px;
    padding: 15px 20px 15px 0;
    display: flex;
    align-items: center;
}

.shared_header_logo-area {
    width: 100%;
}

.shared_header_logo-image {
    max-height: 125px;
    width: auto;
    object-fit: contain;
}

/* Right Side */
.shared_header_header-right {
    flex: 1;
    border-left: 1px solid rgba(0,0,0,0.1);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Top Row */
.shared_header_top-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Bottom Row */
.shared_header_bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    padding: 15px 0;
}

/* Categories Navigation */
.shared_header_categories-nav {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

/* Navigation Items */
.shared_header_nav-item {
    position: relative;
}

.shared_header_nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: 9998;
}

.shared_header_nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: #2c3e50;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.shared_header_nav-link:hover {
    background: rgba(52,152,219,0.15);
    font-size: 16px;
}

.shared_header_nav-link i:first-child {
    font-size: 18px;
}

.shared_header_nav-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.shared_header_nav-item:hover .shared_header_nav-arrow {
    transform: rotate(180deg);
}

/* Horizontal Mega Menu - Ana sayfa'dan taşındı */
.shared_header_horizontal-mega-menu {
    position: fixed;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    z-index: 9999;
    margin-top: 0px;
    width: 90vw;
    max-width: 1400px;
    min-width: 320px;
    animation: shared_header_fadeInDown 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overflow-x: hidden;
    /* Firefox scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #55a3ff #f8f9fa;
}

@keyframes shared_header_fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.shared_header_mega-container {
    display: flex;
    padding: 0;
    gap: 0;
    min-height: auto;
}

.shared_header_mega-categories {
    flex: 1;
    display: flex;
    gap: 0;
    padding: 30px;
    background: white;
    border-radius: 20px;
}

.shared_header_mega-column {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
    max-height: calc(100vh - 300px);
    overflow-y: scroll; /* auto yerine scroll - her zaman görünür */
    overflow-x: hidden;
    /* Firefox scrollbar styling */
    scrollbar-width: auto;
    scrollbar-color: #3498db #e9ecef;
    position: relative;
    padding-right: 5px;
}

.shared_header_mega-column:last-child {
    margin-right: 0;
}

/* Scroll Indicator - Alt gölge */
.shared_header_mega-column::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.95));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* Scroll İpucu - Animasyonlu Ok */
.shared_header_mega-column::before {
    content: '⬇';
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 16px;
    color: #3498db;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 11;
    animation: bounceDown 2s infinite;
    font-weight: bold;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(3px);
    }
}

.shared_header_mega-column:hover::after {
    opacity: 0.7;
}

.shared_header_mega-column-title {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    padding-top: 15px;
    padding-bottom: 12px;
    border-bottom: 3px solid #55a3ff;
    position: relative;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.shared_header_mega-column-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, #1dd1a1, #26de81);
    border-radius: 2px;
}

.shared_header_mega-category-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shared_header_mega-category-item.level-3 {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.shared_header_mega-category-item.level-3:hover {
    border-color: #55a3ff;
    box-shadow: 0 4px 20px rgba(85, 163, 255, 0.15);
    transform: translateY(-2px);
}

.shared_header_category-main-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-bottom: 1px solid #f1f3f4;
}

.shared_header_category-name {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    flex: 1;
}

.shared_header_category-level {
    font-size: 12px;
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 3px 6px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shared_header_mega-sub-items.level-4 {
    background: #fafbfc;
    border-top: 1px solid #f1f3f4;
}

.shared_header_mega-sub-item.level-4 {
    border-bottom: 1px solid #f1f3f4;
    transition: all 0.3s ease;
}

.shared_header_mega-sub-item.level-4:last-child {
    border-bottom: none;
}

.shared_header_mega-sub-item.level-4:hover {
    background: #f0f7ff;
}

.shared_header_sub-item-main {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    cursor: pointer;
    gap: 10px;
}

.shared_header_sub-item-main i {
    font-size: 14px;
    color: #55a3ff;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
}

.shared_header_mega-sub-item-name {
    font-size: 15px;
    color: #34495e;
    font-weight: 500;
    flex: 1;
}

.shared_header_mega-sub-item.level-4 .shared_header_category-level {
    background: #dbeafe;
    color: #1e40af;
}

.shared_header_mega-sub-items.level-5 {
    background: #f1f5f9;
    margin-left: 32px;
    border-left: 2px solid #e2e8f0;
    border-radius: 0 0 8px 8px;
}

.shared_header_mega-sub-item.level-5 {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.shared_header_mega-sub-item.level-5:last-child {
    border-bottom: none;
}

.shared_header_mega-sub-item.level-5:hover {
    background: #e0f2fe;
    padding-left: 20px;
}

.shared_header_mega-sub-item.level-5 i {
    font-size: 12px;
    color: #26de81;
    width: 10px;
    text-align: center;
    flex-shrink: 0;
}

.shared_header_mega-sub-item.level-5 .shared_header_mega-sub-item-name {
    font-size: 14px;
    color: #475569;
    font-weight: 400;
    flex: 1;
}

.shared_header_mega-sub-item.level-5 .shared_header_category-level {
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    padding: 2px 5px;
}

/* Mega Menu Hover Effects */
.shared_header_mega-category-item.level-3:hover .shared_header_category-main-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9ff 100%);
}

.shared_header_mega-category-item.level-3:hover .shared_header_category-level {
    background: #55a3ff;
    color: white;
}

.shared_header_mega-sub-item.level-4:hover .shared_header_category-level {
    background: #3b82f6;
    color: white;
}

.shared_header_mega-sub-item.level-5:hover .shared_header_category-level {
    background: #16a34a;
    color: white;
}

/* Search Section */
.shared_header_search-section {
    flex: 1;
    border-left: 1px solid rgba(0,0,0,0.08);
    padding-left: 30px;
}

.shared_header_search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.shared_header_search-input-wrapper {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2.5px solid #3498db;
    border-radius: 25px;
    padding: 12px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    position: relative;
    overflow: hidden;
}

.shared_header_search-input-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.shared_header_search-input-wrapper:focus-within {
    border-color: #2980b9;
    box-shadow: 0 6px 25px rgba(52, 152, 219, 0.35);
    transform: translateY(-2px);
}

.shared_header_search-input-wrapper:focus-within::before {
    opacity: 0.05;
}

.shared_header_search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #2c3e50;
    font-size: 16px;
    font-weight: 500;
    padding: 0 12px;
    position: relative;
    z-index: 2;
}

.shared_header_search-input::placeholder {
    color: #95a5a6;
    font-weight: 400;
}

.shared_header_search-input-wrapper:focus-within .shared_header_search-input {
    color: #2c3e50;
}

.shared_header_search-input-wrapper:focus-within .shared_header_search-input::placeholder {
    color: #7f8c8d;
}

.shared_header_search-icon {
    color: #3498db;
    font-size: 18px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.shared_header_search-input-wrapper:focus-within .shared_header_search-icon {
    color: #2980b9;
    transform: scale(1.15);
}



/* Search Suggestions - Temizlendi, sıfırdan tasarlanacak */

/* User Info */
.shared_header_user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 5px 0;
}

.shared_header_user-info:hover {
    transform: translateY(-2px);
}

.shared_header_user-info:hover .shared_header_user-avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.shared_header_user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Avatar parlama efekti kaldırıldı */
.shared_header_user-info:hover .shared_header_user-avatar {
    /* transform: scale(1.1); */
    /* box-shadow: 0 6px 20px rgba(29, 209, 161, 0.4); */
}

.shared_header_user-avatar i {
    font-size: 16px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.shared_header_user-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shared_header_user-details h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    text-shadow: none;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 2px;
}

.shared_header_user-details p {
    margin: 0;
    opacity: 0.8;
    font-size: 12px;
    font-weight: 500;
    color: rgba(44,62,80,0.7);
    line-height: 1;
}

/* Company Name Stil */
.shared_header_company-name {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
    transition: all 0.3s ease;
    font-weight: 600 !important;
    color: rgba(52,152,219,0.9) !important;
    opacity: 1 !important;
}

.shared_header_company-name:hover {
    color: rgba(52,152,219,1) !important;
    background: rgba(52,152,219,0.1);
    border-radius: 4px;
}

/* Header Statistics */
.shared_header_header-stats {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden;
}

.shared_header_header-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 0;
    flex-shrink: 0;
    min-width: 0;
}

.shared_header_header-stat-item:hover {
    transform: translateY(-2px);
}

.shared_header_header-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.shared_header_header-stat-icon i {
    font-size: 16px;
    color: white;
    text-shadow: none;
}

.shared_header_header-stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shared_header_header-stat-value {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Uzun metin için özel stil */
.shared_header_header-stat-value.shared_header_long-text {
    font-size: 14px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
    transition: all 0.3s ease;
    line-height: 1.1;
}

/* Hover durumunda tooltip effect */
.shared_header_header-stat-value.shared_header_long-text:hover {
    background: rgba(189,195,199,0.3);
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.shared_header_header-stat-label {
    margin: 0;
    font-size: 12px;
    color: rgba(44,62,80,0.7);
    font-weight: 500;
    line-height: 1;
}

/* Loading ve Error States için Stats */
.shared_header_loading-stats {
    opacity: 0.7;
}

.shared_header_loading-stats .shared_header_header-stat-icon i {
    color: #55a3ff;
    animation: shared_header_statspin 1s linear infinite;
}

@keyframes shared_header_statspin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.shared_header_error-stats .shared_header_header-stat-icon i {
    color: #e74c3c;
}

.shared_header_error-stats .shared_header_header-stat-label {
    color: #e74c3c;
    transition: all 0.3s ease;
}

.shared_header_error-stats .shared_header_header-stat-label:hover {
    color: #fff;
    transform: scale(1.05);
}

/* Neutral changeType için ek stiller */
.shared_header_header-stat-item[ng-class*="neutral"] .shared_header_header-stat-icon i {
    color: #95a5a6;
}

.shared_header_header-stat-item .shared_header_header-stat-value {
    color: #2c3e50;
    transition: all 0.3s ease;
}

.shared_header_header-stat-item .shared_header_header-stat-label {
    color: rgba(44,62,80,0.7);
    transition: all 0.3s ease;
}

/* Cart Widget */
.shared_header_cart-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 5px 0;
}

.shared_header_cart-widget::before {
    content: '';
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, transparent, rgba(127,140,141,0.4), transparent);
    margin-right: 20px;
    flex-shrink: 0;
}

.shared_header_cart-widget:hover {
    transform: translateY(-2px);
}

.shared_header_cart-widget:hover .shared_header_cart-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(26, 188, 156, 0.4);
}

.shared_header_cart-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1abc9c, #16a085);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 188, 156, 0.3);
}

.shared_header_cart-icon i {
    font-size: 16px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.shared_header_cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b, #fd79a8);
    color: white;
    font-size: 13px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    /* animation: shared_header_pulse 1.5s infinite; */ /* Parlama animasyonu kaldırıldı */
}

@keyframes shared_header_pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.shared_header_cart-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.shared_header_cart-total {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: none;
    transition: all 0.3s ease;
}

.shared_header_cart-label {
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
}

/* Logout Button */
.shared_header_logout-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    border: 1px solid rgba(149, 165, 166, 0.3);
    color: white;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(149, 165, 166, 0.3);
}

.shared_header_logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.3s ease;
}

.shared_header_logout-btn:hover::before {
    left: 100%;
}

.shared_header_logout-btn:hover {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    border-color: rgba(231, 76, 60, 0.5);
}

/* Scrollbar Styling */
.shared_header_mega-column::-webkit-scrollbar {
    width: 12px;
    opacity: 1 !important;
    visibility: visible !important;
}

.shared_header_mega-column::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 6px;
    margin: 60px 0 5px 0;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.shared_header_mega-column::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 6px;
    border: 1px solid #2980b9;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.shared_header_mega-column::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(52, 73, 94, 0.4);
}

.shared_header_horizontal-mega-menu::-webkit-scrollbar {
    width: 8px;
}

.shared_header_horizontal-mega-menu::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
    margin: 10px 0;
}

.shared_header_horizontal-mega-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #55a3ff, #a55eea);
    border-radius: 10px;
    border: 2px solid #f8f9fa;
    transition: all 0.3s ease;
}

.shared_header_horizontal-mega-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(85, 163, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1600px) {
    .shared_header_header-content {
        padding: 0 15px;
    }
    
    .shared_header_header-left {
        width: 250px;
        padding-right: 15px;
    }
    
    .shared_header_header-right {
        padding-left: 15px;
    }
    
    .shared_header_logo-image {
        max-height: 100px;
    }
}

@media (max-width: 992px) {
    .shared_header_header-content {
        padding: 0 15px;
    }
    
    .shared_header_header-left {
        width: 200px;
        padding-right: 10px;
    }
    
    .shared_header_header-right {
        padding-left: 10px;
    }
    
    .shared_header_logo-image {
        max-height: 80px;
    }
    
    .shared_header_bottom-row {
        gap: 20px;
    }
    
    .shared_header_horizontal-mega-menu {
        width: 95vw;
        max-width: 1100px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Stats için responsive ayarlar */
    .shared_header_header-stats {
        gap: 15px;
    }
    
    .shared_header_header-stat-value {
        max-width: 140px;
        font-size: 14px;
    }
    
    .shared_header_header-stat-value.shared_header_long-text {
        font-size: 12px;
        max-width: 150px;
    }
    
    /* Company name responsive */
    .shared_header_company-name {
        max-width: 160px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .shared_header_main-header {
        flex-direction: column;
    }
    
    .shared_header_header-left {
        width: 100%;
        justify-content: center;
        padding: 15px 0;
    }
    
    .shared_header_header-right {
        border-left: none;
        padding-left: 0;
    }
    
    .shared_header_top-row {
        justify-content: center;
    }
    
    .shared_header_categories-nav {
        display: none;
    }
    
    .shared_header_logo-image {
        max-height: 60px;
    }
    
    .shared_header_horizontal-mega-menu {
        width: 95vw;
        max-width: 95vw;
        left: 50%;
        transform: translateX(-50%);
        top: 160px;
    }
    
    /* Mobile için stats ayarları */
    .shared_header_header-stats {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .shared_header_header-stat-value {
        max-width: 120px;
        font-size: 13px;
    }
    
    .shared_header_header-stat-value.shared_header_long-text {
        font-size: 11px;
        max-width: 130px;
    }
    
    /* Company name mobile */
    .shared_header_company-name {
        max-width: 140px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .shared_header_header-content {
        padding: 0 10px;
    }
    
    .shared_header_logo-image {
        max-height: 50px;
    }
    
    .shared_header_top-row {
        gap: 15px;
    }
}

/* ==========================================================================
   Smart Search Dropdown Styles
   ========================================================================== */

.shared_header_search-container {
    position: relative;
}

.shared_header_smart-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #ecf0f1;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 600px;
    overflow-y: auto;
    margin-top: 8px;
    min-width: 500px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Results Header */
.shared_header_search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ecf0f1;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border-radius: 12px 12px 0 0;
}

.shared_header_search-results-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.shared_header_search-results-info i {
    font-size: 18px;
}

.shared_header_search-results-close {
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.shared_header_search-results-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Search Section Wrapper */
.shared_header_search-section-wrapper {
    padding: 20px;
    border-bottom: 1px solid #ecf0f1;
}

.shared_header_search-section-wrapper:last-child {
    border-bottom: none;
}

/* Search Section Title */
.shared_header_search-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.shared_header_search-section-title i {
    font-size: 20px;
    color: #3498db;
}

.shared_header_search-section-count {
    background: #3498db;
    color: white;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
    margin-left: auto;
}

/* Search Results List */
.shared_header_search-results-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Search Result Item */
.shared_header_search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid transparent;
}

.shared_header_search-result-item:hover {
    background: #f8f9fa;
    border-color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

/* Search Result Icon */
.shared_header_search-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ecf0f1;
    color: #7f8c8d;
    font-size: 20px;
    flex-shrink: 0;
}

.shared_header_category-item .shared_header_search-result-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.shared_header_brand-item .shared_header_search-result-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.shared_header_product-item .shared_header_search-result-icon {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
}



/* Search Result Content */
.shared_header_search-result-content {
    flex: 1;
    min-width: 0;
}

.shared_header_search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shared_header_search-result-subtitle {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.3;
    display: flex;
    gap: 8px;
    align-items: center;
}

.shared_header_product-code {
    background: #ecf0f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}

.shared_header_product-category {
    color: #95a5a6;
}

/* Search Result Badge */
.shared_header_search-result-badge {
    flex-shrink: 0;
}

.shared_header_product-count {
    background: #3498db;
    color: white;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

/* Search Result Right (for products) */
.shared_header_search-result-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.shared_header_product-price {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}

.shared_header_product-stock {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
}

.shared_header_in-stock {
    color: #27ae60;
}

.shared_header_in-stock i {
    color: #27ae60;
}

.shared_header_out-of-stock {
    color: #e74c3c;
}

.shared_header_out-of-stock i {
    color: #e74c3c;
}

/* Show More Button */
.shared_header_search-show-more {
    margin-top: 10px;
    text-align: center;
}

.shared_header_search-show-more span {
    color: #3498db;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.shared_header_search-show-more span:hover {
    background: #3498db;
    color: white;
    transform: translateY(-1px);
}

/* No Results */
.shared_header_no-results {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.shared_header_no-results-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.shared_header_no-results-text h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: 600;
}

.shared_header_no-results-text p {
    font-size: 16px;
    color: #95a5a6;
    line-height: 1.5;
}

/* Search Loading */
.shared_header_search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    color: #7f8c8d;
}

.shared_header_search-loading-icon {
    font-size: 22px;
    color: #3498db;
}

.shared_header_search-loading-text {
    font-size: 16px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .shared_header_smart-search-dropdown {
        min-width: auto;
        max-width: 100vw;
        left: -10px;
        right: -10px;
    }
    
    .shared_header_search-results-header {
        padding: 12px 15px;
    }
    
    .shared_header_search-section-wrapper {
        padding: 15px;
    }
    
    .shared_header_search-result-item {
        padding: 10px 12px;
    }
    
    .shared_header_search-result-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .shared_header_search-result-title {
        font-size: 15px;
    }
    
    .shared_header_search-result-subtitle {
        font-size: 13px;
    }
    
    .shared_header_product-price {
        font-size: 15px;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .shared_header_smart-search-dropdown {
        min-width: 400px;
    }
}

/* Dropdown Scrollbar Styling */
.shared_header_smart-search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.shared_header_smart-search-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

.shared_header_smart-search-dropdown::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 6px;
}

.shared_header_smart-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* =============================================================================
   MOBILE HEADER STYLES - shared_header_ prefix sistemi
   ========================================================================== */

/* Mobile Header Section */
.shared_header_mobile-section {
    background: linear-gradient(90deg, #ffffff 0%, #f8f9fa 50%, #ecf0f1 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    border-bottom: 2px solid #3498db;
}

.shared_header_mobile-content {
    max-width: 100%;
    margin: 0 auto;
}

/* Mobile Top Bar */
.shared_header_mobile-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
}

/* Mobile Logo */
.shared_header_mobile-logo {
    flex: 1;
    cursor: pointer;
}

.shared_header_mobile-logo-image {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* Mobile Actions */
.shared_header_mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.shared_header_mobile-cart-icon,
.shared_header_mobile-user-icon {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shared_header_mobile-cart-icon:hover,
.shared_header_mobile-user-icon:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: scale(1.05);
}

.shared_header_mobile-cart-icon i,
.shared_header_mobile-user-icon i {
    font-size: 22px;
    color: #3498db;
}

.shared_header_mobile-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hamburger Menu Button */
.shared_header_mobile-menu-button {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 4px;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.shared_header_mobile-menu-button:hover {
    background: rgba(52, 152, 219, 0.2);
}

.shared_header_hamburger-line {
    width: 22px;
    height: 2px;
    background: #3498db;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.shared_header_hamburger-line.active:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.shared_header_hamburger-line.active:nth-child(2) {
    opacity: 0;
}

.shared_header_hamburger-line.active:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Search Bar */
.shared_header_mobile-search-bar {
    padding: 0 15px 12px 15px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Mobile User Menu */
.shared_header_mobile-user-menu {
    position: absolute;
    top: 100%;
    right: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    min-width: 300px;
    animation: shared_header_fadeInDown 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Mobile User Info */
.shared_header_mobile-user-info {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.shared_header_mobile-user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shared_header_mobile-user-avatar i {
    font-size: 26px;
    color: white;
}

.shared_header_mobile-user-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.shared_header_mobile-company-name {
    font-size: 15px;
    color: #7f8c8d;
    margin: 0;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Stats */
.shared_header_mobile-stats {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shared_header_mobile-stats-loading,
.shared_header_mobile-stats-error {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #7f8c8d;
}

.shared_header_mobile-stats-error span {
    cursor: pointer;
    color: #3498db;
    text-decoration: underline;
}

.shared_header_mobile-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.shared_header_mobile-stat-item {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shared_header_mobile-stat-item:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.shared_header_mobile-stat-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shared_header_mobile-stat-icon i {
    font-size: 18px;
    color: white;
}

.shared_header_mobile-stat-content {
    flex: 1;
}

.shared_header_mobile-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
}

.shared_header_mobile-stat-label {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 2px;
}

/* Mobile Logout */
.shared_header_mobile-logout {
    padding: 15px 20px;
}

.shared_header_mobile-logout-btn {
    width: 100%;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.shared_header_mobile-logout-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

/* Mobile Menu Overlay */
.shared_header_mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: shared_header_fadeIn 0.3s ease;
}

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

/* Mobile Menu */
.shared_header_mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 85%;
    max-width: 400px;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    animation: shared_header_slideInRight 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

@keyframes shared_header_slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Mobile Menu Header */
.shared_header_mobile-menu-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shared_header_mobile-menu-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.shared_header_mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.shared_header_mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.shared_header_mobile-menu-close i {
    font-size: 20px;
}

/* Mobile Menu Content */
.shared_header_mobile-menu-content {
    padding: 0;
}

/* Mobile Category List */
.shared_header_mobile-category-list {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shared_header_mobile-category-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shared_header_mobile-category-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shared_header_mobile-category-header:hover {
    background: rgba(52, 152, 219, 0.05);
}

.shared_header_mobile-category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.shared_header_mobile-category-icon i {
    font-size: 18px;
    color: white;
}

.shared_header_mobile-category-name {
    flex: 1;
    font-size: 17px;
    font-weight: 500;
    color: #2c3e50;
}

.shared_header_mobile-category-arrow {
    font-size: 14px;
    color: #7f8c8d;
    transition: transform 0.3s ease;
}

.shared_header_mobile-category-arrow.rotated {
    transform: rotate(180deg);
}

/* Mobile Subcategories */
.shared_header_mobile-subcategories {
    background: #f8f9fa;
    padding: 0;
}

.shared_header_mobile-subcategory-column {
    padding: 15px 20px 15px 40px;
}

.shared_header_mobile-subcategory-title {
    font-size: 16px;
    font-weight: 600;
    color: #3498db;
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.shared_header_mobile-subcategory-items {
    margin-bottom: 15px;
}

.shared_header_mobile-subcategory-item {
    margin-bottom: 8px;
}

.shared_header_mobile-subcategory-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.shared_header_mobile-subcategory-item a:hover {
    background: #3498db;
    color: white;
    transform: translateX(5px);
}

.shared_header_mobile-subcategory-name {
    flex: 1;
}

.shared_header_mobile-subcategory-count {
    font-size: 13px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 500;
}

.shared_header_mobile-subcategory-item a:hover .shared_header_mobile-subcategory-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Mobile Sub-subcategories */
.shared_header_mobile-sub-subcategories {
    margin-top: 5px;
    margin-left: 15px;
}

.shared_header_mobile-sub-subcategory {
    margin-bottom: 5px;
}

.shared_header_mobile-sub-subcategory a {
    padding: 6px 10px;
    font-size: 14px;
    background: rgba(52, 152, 219, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.shared_header_mobile-sub-subcategory a i {
    font-size: 12px;
    margin-right: 5px;
    color: #3498db;
}

.shared_header_mobile-sub-subcategory a:hover {
    background: #2980b9;
}

/* Mobile Specific Responsive Rules */
@media (max-width: 480px) {
    .shared_header_mobile-top-bar {
        padding: 10px 12px;
    }
    
    .shared_header_mobile-logo-image {
        max-height: 35px;
    }
    
    .shared_header_mobile-actions {
        gap: 12px;
    }
    
    .shared_header_mobile-cart-icon,
    .shared_header_mobile-user-icon,
    .shared_header_mobile-menu-button {
        width: 40px;
        height: 40px;
    }
    
    .shared_header_mobile-user-menu {
        right: 12px;
        min-width: 280px;
    }
    
    .shared_header_mobile-menu {
        width: 90%;
    }
    
    .shared_header_mobile-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 360px) {
    .shared_header_mobile-actions {
        gap: 8px;
    }
    
    .shared_header_mobile-cart-icon,
    .shared_header_mobile-user-icon,
    .shared_header_mobile-menu-button {
        width: 36px;
        height: 36px;
    }
    
    .shared_header_mobile-user-menu {
        min-width: 260px;
    }
    
    .shared_header_mobile-menu {
        width: 95%;
    }
}

/* =============================================================================
   PWA INSTALL BUTTON & MODAL STYLES
   ========================================================================== */

/* PWA Install Button */
.shared_header_mobile-pwa-install {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    cursor: pointer;
    border-radius: 12px;
    background: #3498db;
    color: white;
    transition: all 0.3s ease;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.25);
}

.shared_header_mobile-pwa-install:hover {
    transform: translateY(-1px);
    background: #2980b9;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.35);
}

.shared_header_mobile-pwa-install i {
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.shared_header_mobile-pwa-install:hover i {
    transform: translateY(1px) scale(1.05);
}

/* PWA Install Button Text */
.shared_header_mobile-pwa-text-full,
.shared_header_mobile-pwa-text-short {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Show full text by default, hide short text */
.shared_header_mobile-pwa-text-full {
    display: inline;
}

.shared_header_mobile-pwa-text-short {
    display: none;
}

/* PWA Install Tooltip */
.shared_header_mobile-pwa-tooltip {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
}

.shared_header_mobile-pwa-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(44, 62, 80, 0.9);
}

.shared_header_mobile-pwa-install:hover .shared_header_mobile-pwa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

/* PWA Install Modal */
.shared_header_mobile-pwa-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    backdrop-filter: blur(5px);
    animation: shared_header_fadeIn 0.3s ease;
}

.shared_header_mobile-pwa-modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: shared_header_slideUp 0.3s ease;
}

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

/* PWA Modal Header */
.shared_header_mobile-pwa-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #ecf0f1;
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
    border-radius: 20px 20px 0 0;
}

.shared_header_mobile-pwa-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.shared_header_mobile-pwa-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.shared_header_mobile-pwa-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* PWA Modal Body */
.shared_header_mobile-pwa-modal-body {
    padding: 20px;
}

/* PWA Instructions */
.shared_header_mobile-pwa-instructions {
    margin-bottom: 20px;
}

.shared_header_mobile-pwa-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.shared_header_mobile-pwa-step:last-child {
    margin-bottom: 0;
}

.shared_header_mobile-pwa-step-number {
    background: #3498db;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.shared_header_mobile-pwa-step-text {
    flex: 1;
    line-height: 1.5;
    color: #2c3e50;
}

.shared_header_mobile-pwa-step-text i {
    color: #3498db;
    margin: 0 5px;
}

/* PWA Note */
.shared_header_mobile-pwa-note {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    color: #856404;
    font-size: 16px;
}

.shared_header_mobile-pwa-note i {
    margin-right: 10px;
    color: #f39c12;
    font-size: 18px;
}

/* PWA Modal Footer */
.shared_header_mobile-pwa-modal-footer {
    padding: 20px;
    border-top: 1px solid #ecf0f1;
    display: flex;
    justify-content: center;
}

.shared_header_mobile-pwa-modal-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.shared_header_mobile-pwa-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

/* PWA Install Button - Actions container adjustment */
.shared_header_mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive PWA Modal */
@media (max-width: 480px) {
    .shared_header_mobile-pwa-modal {
        padding: 15px;
    }
    
    .shared_header_mobile-pwa-modal-content {
        max-width: 95%;
    }
    
    .shared_header_mobile-pwa-modal-header {
        padding: 15px;
    }
    
    .shared_header_mobile-pwa-modal-body {
        padding: 15px;
    }
    
    .shared_header_mobile-pwa-step {
        padding: 12px;
    }
    
    .shared_header_mobile-pwa-step-number {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .shared_header_mobile-pwa-step-text {
        font-size: 16px;
    }
    
    .shared_header_mobile-pwa-note {
        padding: 12px;
        font-size: 15px;
    }
    
    .shared_header_mobile-pwa-modal-footer {
        padding: 15px;
    }
    
    .shared_header_mobile-pwa-modal-btn {
        padding: 10px 25px;
        font-size: 16px;
    }
}

/* PWA Install Button - Responsive adjustments */
@media (max-width: 480px) {
    .shared_header_mobile-pwa-install {
        height: 40px;
        padding: 0 12px;
        gap: 6px;
        border-radius: 10px;
        margin-right: 8px;
    }
    
    .shared_header_mobile-pwa-install i {
        font-size: 17px;
    }
    
    /* Switch to short text on small screens */
    .shared_header_mobile-pwa-text-full {
        display: none;
    }
    
    .shared_header_mobile-pwa-text-short {
        display: inline;
        font-size: 13px;
    }
    
    .shared_header_mobile-pwa-tooltip {
        font-size: 12px;
        padding: 3px 6px;
        top: -28px;
    }
}

@media (max-width: 400px) {
    .shared_header_mobile-pwa-install {
        height: 38px;
        padding: 0 10px;
        gap: 5px;
        border-radius: 8px;
        margin-right: 6px;
    }
    
    .shared_header_mobile-pwa-install i {
        font-size: 16px;
    }
    
    .shared_header_mobile-pwa-text-short {
        font-size: 12px;
    }
    
    .shared_header_mobile-pwa-tooltip {
        font-size: 11px;
        padding: 2px 5px;
        top: -26px;
    }
}

@media (max-width: 360px) {
    .shared_header_mobile-pwa-install {
        padding: 0;
        gap: 0;
        width: 36px;
        height: 36px;
    }
    
    /* Hide text on very small screens */
    .shared_header_mobile-pwa-text {
        display: none;
    }
    
    .shared_header_mobile-pwa-install i {
        font-size: 16px;
    }
} 