/* ===== MODERN CAMPUS CIRCULARS PAGE STYLING ===== */

.circular-page-wrapper {
    background-color: #f8fafc;
    min-height: 60vh;
}

/* Control & Filter Toolbar */
.circular-toolbar {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1.25rem 1.75rem;
}

.circular-search-wrapper {
    position: relative;
}

.circular-search-wrapper .search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 0.95rem;
}

.circular-search-input {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: all 0.25s ease;
}

.circular-search-input:focus {
    background-color: #ffffff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

.circular-count-badge {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff;
    padding: 0.45rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Page Intro Card */
.circular-intro-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 2rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: #334155;
}

/* ===== CIRCULAR CARD ===== */
.circular-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.circular-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.circular-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, #0d6efd, #3b82f6);
    opacity: 0.8;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.circular-card:hover {
    transform: translateY(-50px) scale(1.005);
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.09);
    border-color: rgba(13, 110, 253, 0.3);
}

.circular-card:hover::before {
    width: 7px;
    opacity: 1;
}

.circular-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 80%;
}

.circular-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
    transition: transform 0.3s ease;
}

.circular-card:hover .circular-icon-box {
    transform: scale(1.08) rotate(-3deg);
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff;
}

.circular-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.5;
    margin: 0;
    transition: color 0.2s ease;
}

.circular-card:hover .circular-title {
    color: #0d6efd;
}

.circular-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #64748b;
}

.circular-right {
    flex-shrink: 0;
}

.btn-circular-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 1.35rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    transition: all 0.25s ease;
    border: none;
}

.btn-circular-action i {
    transition: transform 0.2s ease;
}

.btn-circular-action:hover {
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.35);
    transform: translateY(-2px);
}

.btn-circular-action:hover i {
    transform: translateX(4px);
}

/* Empty State */
.circular-empty-state {
    background: #ffffff;
    border-radius: 20px;
    padding: 4rem 2rem;
    border: 1px dashed #cbd5e1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.circular-empty-icon {
    width: 80px;
    height: 80px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .circular-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .circular-left {
        max-width: 100%;
    }

    .circular-right {
        width: 100%;
    }

    .btn-circular-action {
        width: 100%;
        justify-content: center;
    }
}
