/* ========== ВИДЖЕТЫ ========== */

.widgets-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.widget-card {
    background: linear-gradient(135deg, rgba(26, 45, 77, 0.8) 0%, rgba(10, 22, 40, 0.9) 100%);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: grab;
}

.widget-card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.widget-card.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.widget-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    flex: 1;
}

.widget-content {
    color: rgba(255, 255, 255, 0.9);
}

/* Цитата дня */
.quote-text {
    font-size: 16px;
    line-height: 1.6;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border-left: 4px solid #00d4ff;
}

/* Быстрые действия */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 8px;
}

.quick-action:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: scale(1.05);
    color: #00d4ff;
}

.quick-action i {
    font-size: 24px;
}

.quick-action span {
    font-size: 13px;
    font-weight: 600;
}

/* Погода */
.weather-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.weather-icon {
    font-size: 64px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.weather-temp {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.weather-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Статистика */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
}

.stat-item i {
    font-size: 24px;
    color: #00d4ff;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .widgets-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .widget-card {
        padding: 16px;
    }
    
    .widget-icon {
        font-size: 24px;
    }
    
    .widget-title {
        font-size: 16px;
    }
    
    .quote-text {
        font-size: 14px;
        padding: 12px;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .quick-action {
        padding: 12px 8px;
    }
    
    .quick-action i {
        font-size: 20px;
    }
    
    .quick-action span {
        font-size: 12px;
    }
    
    .weather-icon {
        font-size: 48px;
    }
    
    .weather-temp {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat-item {
        padding: 8px;
    }
    
    .stat-item i {
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
    }
}

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

/* Анимации */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-card {
    animation: slideInUp 0.5s ease-out;
}

.widget-card:nth-child(1) {
    animation-delay: 0.1s;
}

.widget-card:nth-child(2) {
    animation-delay: 0.2s;
}

.widget-card:nth-child(3) {
    animation-delay: 0.3s;
}

.widget-card:nth-child(4) {
    animation-delay: 0.4s;
}

