/* Campus Collab Plugin Styles - Modern Enhanced */
:root {
    --primary-color: #667eea;
    --primary-hover: #764ba2;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    --secondary-color: #6c757d;
    --success-color: #10b981;
    --info-color: #3b82f6;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-soft: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
    --border-radius-small: 12px;
}

/* Common Styles */
.campus-collab-form-container,
.campus-collab-search-container {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-color);
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.required {
    color: var(--danger-color);
    font-weight: 700;
}

/* Form Progress */
.form-progress {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

.form-progress ul {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;
    position: relative;
}

.form-progress ul::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: linear-gradient(90deg, var(--border-color) 0%, var(--primary-color) 100%);
    border-radius: 2px;
    z-index: 1;
}

.form-progress li {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 13px;
    color: var(--secondary-color);
    flex: 1;
    font-weight: 500;
}

.form-progress li::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-progress li.active {
    color: var(--primary-color);
    font-weight: 700;
}

.form-progress li.active::before {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transform: scale(1.1);
}

/* Form Buttons */
.form-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
}

button {
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 120px;
}

.prev-step-btn,
.search-prev-btn {
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.next-step-btn,
.search-next-btn {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.submit-btn,
.search-submit-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.prev-step-btn:hover,
.search-prev-btn:hover {
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.next-step-btn:hover,
.search-next-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.submit-btn:hover,
.search-submit-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.4);
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-small);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.file-upload-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.file-upload-text {
    color: var(--secondary-color);
    font-weight: 500;
    text-align: center;
}

.file-upload-wrapper:hover .file-upload-preview {
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.1);
}

.file-upload-wrapper:hover .file-upload-preview::before {
    left: 100%;
}

.file-upload-preloader {
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Category Cards */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
}

.category-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.category-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    position: relative;
    overflow: hidden;
}

.category-card label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
}

.category-card input[type="checkbox"]:checked + label,
.category-card.selected label {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.25);
}

.category-card input[type="checkbox"]:checked + label::before,
.category-card.selected label::before {
    opacity: 0.1;
}

.category-icon {
    font-size: 36px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.category-name {
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 14px;
}

/* Form Message */
.form-message {
    margin-top: 24px;
    padding: 20px 24px;
    border-radius: var(--border-radius-small);
    display: none;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-color);
    color: var(--danger-color);
    display: block;
}

/* Search Results */
.search-results-container {
    margin-top: 40px;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.result-card {
    position: relative;
    padding: 28px;
    border-radius: var(--border-radius);
    color: white;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    background: var(--primary-gradient);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.result-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.result-card:hover::before {
    opacity: 0.9;
}

.post-time {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.8);
    font-weight: normal;
    margin-left: 8px;
}

/* Add these styles in the appropriate section */
.result-card h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.post-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    white-space: nowrap;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.card-description {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.read-more-btn,
.whatsapp-btn {
    padding: 12px 20px;
    border-radius: var(--border-radius-small);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    flex: 1;
}

.read-more-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: 2px solid transparent;
}

.read-more-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Enhanced Popup Styles */
.card-details {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

.details-content {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    animation: popupSlide 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.details-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.details-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-content h4::before {
    content: '';
    display: block;
    width: 4px;
    height: 20px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.details-content p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 15px;
}

.details-content p strong {
    color: var(--dark-color);
    font-weight: 600;
}

.details-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.close-details-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.close-details-btn:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

/* Enhanced Profile Photo Styling */
.profile-photo-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    margin: 0 auto 24px;
    box-shadow: var(--shadow-medium);
    position: relative;
    background: white;
}

.profile-photo-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -1;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.profile-photo:hover {
    transform: scale(1.1);
}

/* Enhanced Details Content */
.details-content h3 {
    text-align: center;
    margin-bottom: 32px;
}

.details-content h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 16px;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 600;
}

.details-content h4 .section-emoji {
    font-size: 24px;
}

.details-content p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 15px;
}

.details-content p strong {
    color: var(--dark-color);
    font-weight: 600;
}

.details-section {
    padding: 20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.close-details-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
}

.close-details-btn:hover {
    background: var(--danger-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.profile-photo-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex-grow: 1;
}

.profile-info h4 {
    margin: 0 0 8px;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.contact-btn {
    flex: 1;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-contact {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

@keyframes popupSlide {
    from {
        transform: translateY(60px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.no-results {
    text-align: center;
    padding: 60px 40px;
    color: var(--secondary-color);
    font-size: 18px;
    font-weight: 500;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step,
.search-step {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Filter Toggle Button */
.filter-toggle-btn {
    display: inline-block;
    margin-bottom: 24px;
    padding: 14px 28px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.filter-toggle-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .campus-collab-form-container,
    .campus-collab-search-container {
        padding: 24px;
        margin: 16px;
    }
    
    .form-progress {
        display: none;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-buttons button {
        width: 100%;
    }
    
    .category-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .search-results {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .details-content {
        padding: 32px 24px;
        width: 350px;
        border-radius: 20px;
    }

    .close-details-btn {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .campus-collab-form-container,
    .campus-collab-search-container {
        padding: 20px;
        margin: 12px;
    }
    
    .category-cards {
        grid-template-columns: 1fr;
    }
    
    .details-content {
        padding: 28px 20px;
        width: 320px;
    }
    
    .profile-photo-container {
        width: 100px;
        height: 100px;
    }
}

/* Custom Scrollbar */
.details-content::-webkit-scrollbar {
    width: 6px;
}

.details-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.details-content::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 3px;
}

.details-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Add these styles before the @media queries */

/* Dynamic Search Bar */
.dynamic-search-wrapper {
    position: relative;
    margin-bottom: 24px;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dynamic-search-wrapper input {
    width: 100%;
    padding: 16px 48px 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    color: var(--dark-color);
}

.dynamic-search-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.dynamic-search-wrapper .search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--secondary-color);
    pointer-events: none;
}

/* Enhanced No Results Styling */
.no-results {
    text-align: center;
    padding: 60px 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid var(--glass-border);
    margin: 20px 0;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results-text {
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.no-results-suggestion {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dynamic-search-wrapper {
        margin-bottom: 20px;
    }
    
    .dynamic-search-wrapper input {
        padding: 14px 40px 14px 16px;
        font-size: 15px;
    }
    
    .dynamic-search-wrapper .search-icon {
        right: 12px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .dynamic-search-wrapper input {
        padding: 12px 36px 12px 14px;
        font-size: 14px;
    }
    
    .no-results {
        padding: 40px 20px;
    }
    
    .no-results-icon {
        font-size: 36px;
    }
    
    .no-results-text {
        font-size: 16px;
    }
}

/* College Search Dropdown */
.college-search-wrapper {
    position: relative;
    width: 100%;
}

.college-search-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    font-size: 16px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: left !important; /* Force left alignment */
}

.college-search-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.college-dropdown-list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    display: none;
    padding: 0;
    margin: 0;
    list-style: none;
}

.college-dropdown-list li {
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 15px;
    color: var(--dark-color);
}

.college-dropdown-list li:hover {
    background: var(--primary-gradient);
    color: white;
}

.college-dropdown-list li.selected {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Custom Scrollbar for Dropdown */
.college-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.college-dropdown-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.college-dropdown-list::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 3px;
}

.college-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Updated Font Sizes */
.campus-collab-search-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.search-step h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* College Selection Styles */
.college-search-input,
#search_college_id {
    text-align: left !important; /* Remove this as it's now defined above */
    font-size: 0.95rem;
}

/* Updated Button Styles */
.search-next-btn,
.next-step-btn {
    border-radius: 9999px !important;
    padding: 8px 24px !important;
    transition: all 0.3s ease;
    background: var(--primary-gradient);
    position: relative;
    overflow: hidden;
}

.search-next-btn:hover,
.next-step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Toast Notification */
.college-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.3s ease;
}

.college-toast.show {
    transform: translateY(0);
}

.college-toast-icon {
    color: var(--success-color);
    font-size: 20px;
}

.college-toast-message {
    color: var(--dark-color);
    font-size: 0.9rem;
    font-weight: 500;
}