/* =============================
   FLTR College - Modern UI
   Matches college.9raya.tn style
   ============================= */

.college-filter-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid #e9edf3;
    direction: rtl;
    font-family: 'Noto Sans Kufi Arabic', sans-serif;
}

/* العنوان */
.college-filter-box h3,
.cf-title {
    font-size: 18px;
    margin: 0 0 20px;
    text-align: center;
    font-weight: 700;
    color: #1f3e72;
    position: relative;
}

.college-filter-box h3::after,
.cf-title::after {
    content: '';
    width: 55px;
    height: 4px;
    background: #2e7df6;
    border-radius: 2px;
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
}

/* مجموعات الحقول */
.cf-group {
    margin-bottom: 18px;
}

.cf-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #25396f;
    margin-bottom: 6px;
}

/* القائمة المنسدلة */
.cf-group select {
    width: 100%;
    padding: 1px 1px;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    background: #f9fbfd;
    font-size: 12px;
    color: #0c2e60;
    transition: all 0.25s ease;
}

.cf-group select:hover {
    border-color: #2e7df6;
}

.cf-group select:focus {
    border-color: #2e7df6;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46,125,246,0.2);
    outline: none;
}

/* الأزرار */
.cf-btns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* زر تطبيق */
.cf-apply {
    flex: 1;
    padding: 12px;
    background: #2e7df6;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(46,125,246,0.25);
}

.cf-apply:hover {
    background: #1663d3;
    transform: translateY(-2px);
}

/* زر إعادة التعيين */
.cf-reset {
    flex: 1;
    width: auto;
    position: relative;
    background-color: var(--tie-buttons-color, var(--brand-color));
    color: var(--tie-buttons-text, var(--bright-color));
    border-radius: var(--tie-buttons-radius, 2px);
    border: var(--tie-buttons-border-width, 0) solid var(--tie-buttons-border-color, var(--brand-color));
    padding: 10px 25px;
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    text-align: center;
    line-height: 21px;
    cursor: pointer;
    text-decoration: none;
    vertical-align: middle;
    transition: 0.3s;
    appearance: none;
}

.cf-reset:hover {
    background: #f05555;
	border-color:#f05555;
	color:white;
}

/* للموبايل */
@media (max-width: 768px) {
    .cf-btns {
        flex-direction: column;
    }
}
