/* premium-redesign.css */
/* Modern Portals Redesign */
.premium-redesign-portals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.portal-card-pro {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
}

.portal-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.portal-card-pro-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.student-portal-card .portal-card-pro-bg {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.15) 100%);
}

.admin-portal-card .portal-card-pro-bg {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.15) 100%);
}

.portal-card-pro:hover .portal-card-pro-bg {
    opacity: 1;
}

.portal-card-pro-content {
    position: relative;
    z-index: 1;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.portal-pro-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.4s ease;
}

.portal-card-pro:hover .portal-pro-icon {
    transform: scale(1.1) rotate(-5deg);
}

.student-icon-bg {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

.admin-icon-bg {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.portal-pro-icon i {
    width: 28px;
    height: 28px;
}

.portal-pro-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
}

.portal-pro-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.portal-pro-arrow {
    margin-right: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.portal-card-pro:hover .portal-pro-arrow {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(-5px);
}

/* Sidebar Redesign */
.sidebar-section-header-pro {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
}

.sidebar-icon-box-pro {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-icon-box-pro i {
    width: 20px;
    height: 20px;
}

.blue-gradient { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.orange-gradient { background: linear-gradient(135deg, #f59e0b, #d97706); }

.sidebar-title-pro {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
}

.sidebar-list-container-pro {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-resource-card-pro {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.sidebar-resource-card-pro:hover {
    transform: translateY(-3px) translateX(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.resource-icon-pro {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sidebar-resource-card-pro:hover .resource-icon-pro {
    transform: scale(1.08);
}

.guide-icon {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.form-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.resource-body-pro h4 {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.resource-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
}

.resource-type-badge i {
    width: 12px;
    height: 12px;
}

.resource-arrow-pro {
    margin-right: auto;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.sidebar-resource-card-pro:hover .resource-arrow-pro {
    color: #0f172a;
    transform: translateX(-4px);
}
