/* ===== فونت و تنظیمات پایه ===== */
        @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700&display=swap');
        *{box-sizing:border-box;margin:0;padding:0}
        
        :root {
            --primary-bg: linear-gradient(135deg,#1a1a2e,#16213e,#0f3460,#533483);
            --card-bg: rgba(255,255,255,0.1);
            --card-border: rgba(255,255,255,0.15);
            --text-color: #ffffff;
            --shadow-color: rgba(0,0,0,0.3);
        }

        .light-mode {
            --primary-bg: linear-gradient(135deg,#667eea,#764ba2,#f093fb,#f5576c);
            --card-bg: rgba(255,255,255,0.8);
            --card-border: rgba(255,255,255,0.3);
            --text-color: #333333;
            --shadow-color: rgba(0,0,0,0.1);
        }

        body{
            font-family:'Vazirmatn',sans-serif;
            background: var(--primary-bg);
            color: var(--text-color);
            min-height:100vh;
            display:flex;
            flex-direction:column;
            transition: all 0.3s ease;
        }
        
        .container{max-width:1400px;margin:0 auto;padding:20px;width:100%}

        /* هدر */
        header{
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            padding:18px;
            border-radius:20px;
            margin-bottom:18px;
            border: 1px solid var(--card-border);
            box-shadow: 0 8px 32px var(--shadow-color);
        }
        
        .header-title{
            font-size:1.7rem;
            margin-bottom:6px;
            background:linear-gradient(90deg,#a166ab,#c54b8c,#ff7e5f);
            -webkit-background-clip:text;
            -webkit-text-fill-color:transparent;
        }
        
        .header-subtitle{opacity:.85;font-size:.95rem}

        /* دکمه تغییر حالت */
        .theme-toggle {
            position: fixed;
            top: 20px;
            left: 20px;
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border: 1px solid var(--card-border);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px var(--shadow-color);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
        }

        .theme-toggle i {
            font-size: 1.2rem;
            color: var(--text-color);
        }

        /* شبکه کارت‌ها */
        .dashboard{
            display:grid;
            grid-template-columns: repeat(3, 1fr);
            gap:20px;
            margin-bottom:22px
        }
        
        .glass-card{
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border-radius:20px;
            padding:20px;
            border: 1px solid var(--card-border);
            box-shadow: 0 8px 32px var(--shadow-color);
            display:flex;
            flex-direction:column;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .glass-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
            border-radius: 20px;
            z-index: -1;
        }

        .glass-card:hover{
            transform: translateY(-8px);
            box-shadow: 0 16px 40px var(--shadow-color);
        }

        .card-header{
            display:flex;
            align-items:center;
            margin-bottom:15px;
            border-bottom: 1px solid var(--card-border);
            padding-bottom:12px;
        }
        
        .card-icon{
            width:50px;
            height:50px;
            border-radius:12px;
            background:linear-gradient(135deg,#8a2be2,#da70d6);
            display:flex;
            align-items:center;
            justify-content:center;
            margin-left:12px;
            font-size:1.3rem;
            box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
        }
        
        .card-title{
            font-weight:600;
            font-size:1.1rem;
        }

        /* کارت اخبار - تمام عرض */
        .news-full-width {
            grid-column: 1 / -1;
            margin-top: 20px;
        }

        /* ردیف پایین - دو ستونی */
        .bottom-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 20px;
        }

        /* کاروسل اخبار */
        .news-carousel {
            display: flex;
            gap: 15px;
            overflow-x: auto;
            padding: 10px 5px;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,0.3) transparent;
        }

        .news-carousel::-webkit-scrollbar {
            height: 6px;
        }

        .news-carousel::-webkit-scrollbar-track {
            background: transparent;
        }

        .news-carousel::-webkit-scrollbar-thumb {
            background: rgba(255,255,255,0.3);
            border-radius: 10px;
        }

        .news-item {
            flex: 0 0 auto;
            width: 300px;
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            border-radius: 15px;
            padding: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .news-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px var(--shadow-color);
        }

        .news-title {
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.4;
            font-size: 0.95rem;
        }

        .news-source {
            font-size: 0.8rem;
            opacity: 0.7;
            margin-top: 8px;
        }

        /* دکمه‌ها */
        .btn{
            background:linear-gradient(135deg,#8a2be2,#da70d6);
            color:#fff;
            border:none;
            padding:12px 18px;
            border-radius:12px;
            cursor:pointer;
            font-weight:600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }
        
        .btn:hover{
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
            color: #fff;
            text-decoration: none;
        }

        /* قیمت‌ها */
        .price-section{
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            padding:20px;
            border-radius:20px;
            margin-bottom:20px;
            border: 1px solid var(--card-border);
            box-shadow: 0 8px 32px var(--shadow-color);
        }

        /* کارت محتوا */
        .card-content{
            flex:1;
            display:flex;
            flex-direction:column;
            justify-content:center;
            align-items: center;
            text-align: center;
        }

        /* شبکه‌های اجتماعی */
        .social-links{
            display:flex;
            gap:10px;
            flex-wrap:wrap;
        }
        
        .social-card{
            display:flex;
            align-items:center;
            gap:10px;
            padding:12px;
            border-radius:12px;
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            transition: all 0.3s ease;
        }
        
        .social-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px var(--shadow-color);
        }
        
        .social-card a{
            color: var(--text-color);
            text-decoration:none;
            font-weight:600;
            display:flex;
            align-items:center;
            gap:8px;
        }

        /* لینک‌های مهم */
        .quick-links{
            display:flex;
            flex-direction:column;
            gap:10px;
        }
        
        .quick-links a{
            display:flex;
            align-items:center;
            gap:10px;
            padding:12px;
            border-radius:12px;
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            text-decoration:none;
            color: var(--text-color);
            transition: all 0.3s ease;
        }
        
        .quick-links a:hover {
            transform: translateX(-5px);
            box-shadow: 0 4px 15px var(--shadow-color);
        }

        /* اضطراری */
        .emergency-list{
            list-style:none;
            padding-left:0;
        }
        
        .emergency-item{
            display:flex;
            justify-content:space-between;
            padding:12px;
            border-radius:12px;
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            margin-bottom:10px;
            transition: all 0.3s ease;
        }
        
        .emergency-item:hover {
            transform: translateX(-5px);
            box-shadow: 0 4px 15px var(--shadow-color);
        }

        /* آب و هوا */
        .weather-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
        }

        .weather-icon {
            font-size: 3rem;
            margin-bottom: 10px;
        }

        .weather-temp {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(90deg, #ff7e5f, #feb47b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .weather-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            width: 100%;
            margin-top: 15px;
        }

        .weather-detail {
            display: flex;
            justify-content: space-between;
            padding: 8px;
            background: rgba(255,255,255,0.1);
            border-radius: 8px;
        }

        @media (max-width: 1024px) {
            .dashboard {
                grid-template-columns: repeat(2, 1fr);
            }
            .bottom-row {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .dashboard {
                grid-template-columns: 1fr;
            }
            .theme-toggle {
                top: 10px;
                left: 10px;
                width: 40px;
                height: 40px;
            }
            .news-item {
                width: 250px;
            }
            .bottom-row {
                grid-template-columns: 1fr;
            }
        }

        /* استایل برای لینک‌های پارسیک در کاروسل */
        .parseek-carousel-item {
            display: block;
            text-decoration: none;
            color: var(--text-color);
            padding: 15px;
            background: var(--card-bg);
            backdrop-filter: blur(10px);
            border: 1px solid var(--card-border);
            border-radius: 15px;
            transition: all 0.3s ease;
            cursor: pointer;
            width: 300px;
            flex: 0 0 auto;
        }

        .parseek-carousel-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px var(--shadow-color);
            text-decoration: none;
            color: var(--text-color);
        }

        .parseek-title {
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.4;
            font-size: 0.95rem;
        }

        .parseek-source {
            font-size: 0.8rem;
            opacity: 0.7;
            margin-top: 8px;
        }

        /* جزئیات و استایل سامانه‌های مهم */
.quick-links details {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px;
  transition: all 0.3s ease;
}

.quick-links details:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.quick-links summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  margin-bottom: 6px;
  list-style: none;
}

.quick-links summary::-webkit-details-marker {
  display: none;
}

.quick-links details[open] summary {
  color: #ff7e5f;
}

.quick-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-color);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.quick-links a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(-4px);
}
.social-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            justify-items: center;
            align-items: center;
        }

        .social-app {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            color: var(--text-color);
            transition: all 0.3s ease;
        }

        .app-icon {
            width: 60px;
            height: 60px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.7rem;
            box-shadow: 0 4px 15px rgba(0,0,0,0.25);
            margin-bottom: 8px;
            transition: transform 0.2s ease;
        }

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

        .app-name {
            font-size: 0.85rem;
            font-weight: 600;
            text-align: center;
            color: #fff;
        }

        /* حالت موبایل */
        @media (max-width: 768px) {
            .social-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 480px) {
            .social-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .app-icon {
                width: 50px;
                height: 50px;
                font-size: 1.4rem;
            }
            .app-name {
                font-size: 0.8rem;
            }
        }

        .section-title {
            color: #fff;
            margin: 25px 0 15px;
            padding-bottom: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            font-size: 1.1rem;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
            width: 100%;
        }

        body {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* کانتینر اصلی */
        .main-content {
            flex: 1;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        /* استایل برای فوتر */
        footer {
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            padding: 25px 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            margin-top: 40px;
            position: relative;
            z-index: 10;
            transition: all 0.3s ease;
        }

        footer:hover {
            background: rgba(0, 0, 0, 0.95);
            box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
        }

        /* نویگیشن بار در فوتر */
        .footer-nav-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .footer-nav-container:hover {
            background: rgba(255, 255, 255, 0.08);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        }

        nav {
            position: relative;
            width: 100%;
            height: 70px;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            border-radius: 12px;
            padding: 0 10px;
            background: rgba(0, 0, 0, 0.8);
            overflow: hidden;
            transition: all 0.3s ease;
        }

        nav:hover {
            background: rgba(0, 0, 0, 0.9);
        }

        nav ul {
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            list-style: none;
        }

        nav ul li {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        nav ul li a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            cursor: pointer;
            text-decoration: none;
            border-radius: 50%;
            transition: all 0.3s ease;
            position: relative;
        }

        nav ul li a:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.1);
        }

        nav ul li a.active {
            background: rgba(255, 50, 50, 0.2);
        }

        nav ul li a svg {
            fill: #fff;
            width: 24px;
            height: 24px;
            opacity: 0.7;
            transition: all 0.3s ease;
            pointer-events: none;
        }

        nav ul li a:hover svg {
            opacity: 1;
            fill: #ff7e5f;
            transform: scale(1.1);
        }

        nav ul li a.active svg {
            opacity: 1;
            fill: #ff416c;
        }

        /* افکت نور برای نویگیشن */
        nav .tubelight {
            position: absolute;
            left: 0;
            top: 5px;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg, #ff416c, #ff4b2b);
            transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 10;
            box-shadow: 0 0 10px rgba(255, 65, 108, 0.8);
        }

        nav .tubelight .light-ray {
            position: absolute;
            left: -30%;
            top: 3px;
            width: 160%;
            height: 60px;
            clip-path: polygon(5% 100%, 25% 0, 75% 0, 95% 100%);
            background: linear-gradient(to bottom, rgba(255, 65, 108, 0.3) -50%, rgba(255, 255, 255, 0) 90%);
            pointer-events: none;
        }

        /* کپی‌رایت */
        .copyright {
            text-align: center;
            margin-top: 20px;
            font-size: 0.85rem;
            opacity: 0.7;
            color: rgba(255, 255, 255, 0.8);
        }

        /* تنظیمات برای صفحه اسکرول */
        .container {
            flex: 1;
            padding-bottom: 40px;
        }

        /* اسکرول نرم */
        html {
            scroll-behavior: smooth;
        }

        /* حل مشکل overflow در body */
        body {
            overflow-x: hidden;
            overflow-y: auto;
        }
        
        /* استایل برای نمایش تاریخ شمسی */
        .price-title-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 20px;
        }
        /* ===== استایل تسک منیجر ===== */
.sinfo-task-manager {
    width: 100%;
}

.task-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.task-input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.task-input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.task-input:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

.task-add-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Vazirmatn', sans-serif;
    white-space: nowrap;
}

.task-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.task-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    border: 1px solid var(--card-border);
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 250px;
    overflow-y: auto;
}

.task-list::-webkit-scrollbar {
    width: 6px;
}

.task-list::-webkit-scrollbar-track {
    background: transparent;
}

.task-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.task-item {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.task-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.task-completed {
    opacity: 0.7;
    background: rgba(138, 43, 226, 0.1);
}

.task-completed .task-text {
    text-decoration: line-through;
    opacity: 0.7;
}

.task-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.task-text {
    font-weight: 500;
    word-break: break-word;
}

.task-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.task-actions {
    display: flex;
    gap: 8px;
    margin-right: 10px;
}

.task-complete-btn,
.task-delete-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.task-complete-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.task-complete-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
}

.task-delete-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.task-delete-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.4);
}

.task-empty {
    text-align: center;
    padding: 20px;
    opacity: 0.7;
    font-style: italic;
}

.task-action-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
    flex: 1;
    justify-content: center;
}

.task-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* رسپانسیو */
@media (max-width: 768px) {
    .task-input-section {
        flex-direction: column;
    }
    
    .task-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .task-action-btn {
        padding: 12px;
    }
}
/* استایل‌های مربوط به سیستم احراز هویت */

/* منوی کاربر */
.user-menu {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

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

.user-info {
    text-align: center;
    padding: 10px 0;
}

.user-info strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-color);
}

.user-info small {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.menu-item {
    background: none;
    border: none;
    padding: 10px 15px;
    width: 100%;
    text-align: right;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 5px 0;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item i {
    width: 20px;
    text-align: center;
}

.logout-btn {
    color: #ff6b6b;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.1);
}

/* حالت درگ اند دراپ */
.glass-card.dragging {
    opacity: 0.5;
    transform: rotate(3deg);
    cursor: grabbing;
}

.glass-card[draggable="true"] {
    cursor: grab;
}

.glass-card[draggable="true"]:active {
    cursor: grabbing;
}

/* پیام‌های احراز هویت */
.auth-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 300px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.auth-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.auth-success {
    background: rgba(40, 167, 69, 0.9);
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.auth-error {
    background: rgba(220, 53, 69, 0.9);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.auth-info {
    background: rgba(0, 123, 255, 0.9);
    border: 1px solid rgba(0, 123, 255, 0.3);
}

/* صفحه لاگین */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.back-to-home {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-5px);
}

.login-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    min-width: 350px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-form h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.form-header {
    margin-bottom: 30px;
    color: #666;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-options {
    margin-bottom: 20px;
    text-align: right;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.remember-me input {
    margin: 0;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.form-footer {
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.welcome-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease;
}

.welcome-message.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
/* استایل‌های مخصوص بخش اخبار دیجیاتو */
.digiato-news-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 15px 10px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    min-height: 300px;
}

.digiato-news-container::-webkit-scrollbar {
    height: 6px;
}

.digiato-news-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.digiato-news-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
}

.digiato-news-card {
    flex: 0 0 auto;
    width: 280px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.digiato-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.digiato-card-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.digiato-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.digiato-news-card:hover .digiato-card-image img {
    transform: scale(1.05);
}

.digiato-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.digiato-card-content {
    padding: 15px;
}

.digiato-card-title {
    font-size: 1rem;
    color: white;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 600;
    height: 80px;
    overflow: hidden;
}

.digiato-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.digiato-card-button {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    padding: 8px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.digiato-card-button:hover {
    background: linear-gradient(90deg, #5a6fd8, #6b3f9b);
    transform: translateY(-2px);
}

.digiato-loading {
    text-align: center;
    padding: 30px;
    color: white;
    display: none;
}

.digiato-loading.show {
    display: block;
}

.digiato-loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.digiato-fetch-btn {
    background: linear-gradient(90deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px auto;
}

.digiato-fetch-btn:hover {
    background: linear-gradient(90deg, #5a6fd8, #6b3f9b);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.digiato-fetch-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}