/* ==========================================================
   SIDEBAR — featured widget, immigration/education buttons
   Part of the CiaoCity modular stylesheet system.
   Design tokens live in base.css — do not redefine colors here.
   ========================================================== */

/* ===================== */
.sidebar-widget h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.featured-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: white;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.featured-card:hover {
    transform: translateX(4px);
    border-color: #4f46e5;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.12);
}

.featured-card:active {
    transform: scale(0.98);
}

.featured-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-icon {
    transform: scale(1.05);
}

.featured-info {
    flex: 1;
    min-width: 0;
}

.featured-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.featured-info p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.2;
}

.featured-arrow {
    font-size: 1.1rem;
    color: #94a3b8;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.featured-card:hover .featured-arrow {
    color: #4f46e5;
    transform: translateX(4px);
}

.featured-card:nth-child(1) .featured-icon {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
}

.featured-card:nth-child(2) .featured-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.featured-card:nth-child(3) .featured-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.featured-card:nth-child(1):hover {
    border-color: #4f46e5;
}

.featured-card:nth-child(2):hover {
    border-color: #ef4444;
}

.featured-card:nth-child(3):hover {
    border-color: #10b981;
}

/* Sidebar */
.widget-list { list-style: none; display: flex; flex-direction: column; gap: 12px;}

.widget-list a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.widget-list a:hover { color: var(--text-main); }

/* ===================== */
.sidebar-wide-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.25);
    transition: all 0.25s ease;
}

.sidebar-wide-btn i:first-child {
    font-size: 1.2rem;
}

.sidebar-wide-btn span {
    flex: 1;
}

.sidebar-wide-btn i.ph-arrow-right {
    font-size: 1rem;
    opacity: 0.8;
    transition: transform 0.25s ease;
}

.sidebar-wide-btn:hover {
    background: var(--primary-hover);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.sidebar-wide-btn:hover i.ph-arrow-right {
    transform: translateX(3px);
}
