/* Indian Colleges Dashboard Styles */

.indian-colleges-content {
    padding: 20px 30px;
}

.page-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.heading-second-word {
    color: #333;
}

/* Filter Section */
.filter-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-inner-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.filter-item {
    flex: 1;
    min-width: 180px;
}

.filter-heading {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.apply-btn-filter {
    background: #f57f1a;
    color: white;
    padding: 12px 60px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.apply-btn-filter:hover {
    background: #e06b10;
}

/* Fees Slider */
.fees-slider-container {
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.slider-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.slider-input {
    flex: 1;
    min-width: 120px;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #626cad, #9b59b6);
    border-radius: 5px;
    outline: none;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #9b59b6;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #9b59b6;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
}

.slider-output {
    font-weight: 600;
    color: #333;
    min-width: 90px;
    font-size: 14px;
}

.slider-separator {
    color: #666;
    font-size: 14px;
}

/* Colleges Container */
.colleges-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loading-spinner {
    text-align: center;
    padding: 50px;
    font-size: 18px;
    color: #626cad;
}

.no-results {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 10px;
    color: #666;
}

/* College Card */
.college-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.college-info {
    flex: 1;
    padding-right: 25px;
}

.college-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.college-name a {
    color: #000;
    text-decoration: none;
}

.college-name a:hover {
    color: #f57f1a;
}

.college-affiliation {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.college-affiliation i {
    width: 20px;
    color: #626cad;
}

.college-location {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.college-divider {
    border: 0;
    border-top: 3px solid #5bc0de;
    margin: 15px 0;
}

.college-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 1rem;
    color: #555;
}

.college-details strong {
    color: #000;
}

/* Image Section */
.college-image-section {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.college-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.college-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

.btn-explore,
.btn-apply {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.btn-explore {
    background: #f57f1a;
    color: white;
    border: none;
}

.btn-explore:hover {
    background: #e06b10;
    color: white;
}

.btn-apply {
    background: #626cad;
    color: white;
    border: none;
}

.btn-apply:hover {
    background: #4e59ad;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.pagination-link {
    padding: 10px 20px;
    background: #f57f1a;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.pagination-link:hover {
    background: #e06b10;
    color: white;
}

.page-info {
    font-size: 14px;
    color: #666;
}

/* Apply Modal */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    min-width: 350px;
}

.popup-form h2 {
    margin: 0 0 10px 0;
    color: #333;
}

.popup-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.popup-form button {
    width: 100%;
    padding: 12px;
    background: #f57f1a;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.popup-form button:hover {
    background: #e06b10;
}

/* Responsive */
@media (max-width: 992px) {
    .college-card {
        flex-direction: column;
    }

    .college-info {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .college-image-section {
        width: 100%;
    }

    .filter-inner-container {
        flex-direction: column;
    }

    .filter-item {
        min-width: 100%;
    }
}
