/* University Grid */
.shc-university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.shc-university-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.shc-university-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

/* University Grid */
.shc-university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.shc-university-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.shc-university-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.shc-university-image {
    height: 200px;
    overflow: hidden;
}

.shc-university-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.shc-university-card:hover .shc-university-image img {
    transform: scale(1.05);
}

.shc-university-content {
    padding: 20px;
}

.shc-university-content h3 {
    margin: 0 0 15px;
    font-size: 1.2em;
}

.shc-university-content h3 a {
    color: #333;
    text-decoration: none;
}

.shc-university-content h3 a:hover {
    color: #0066cc;
}

.shc-university-meta {
    margin-bottom: 15px;
}

.shc-meta-item {
    margin-bottom: 8px;
    display: flex;
}

.shc-meta-label {
    font-weight: bold;
    margin-right: 5px;
    min-width: 100px;
}

.shc-university-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.shc-view-button, .shc-apply-button {
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: all 0.2s ease;
}

.shc-view-button {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.shc-view-button:hover {
    background: #e0e0e0;
}

.shc-apply-button {
    background: #0066cc;
    color: white;
    border: 1px solid #0055aa;
}

.shc-apply-button:hover {
    background: #0055aa;
}

/* Pagination */
.shc-pagination {
    margin: 30px 0;
    text-align: center;
}

.shc-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.shc-pagination .page-numbers.current {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

.shc-pagination .page-numbers:hover:not(.current) {
    background: #f0f0f0;
}

/* Application Form */
.shc-application-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.shc-application-form-container h2 {
    margin-top: 0;
    color: #0066cc;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.shc-form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.shc-form-section h3 {
    margin: 0 0 15px;
    color: #444;
}

.shc-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.shc-form-group {
    flex: 1;
    margin-bottom: 15px;
}

.shc-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.shc-form-group .required {
    color: #cc0000;
}

.shc-form-group input[type="text"],
.shc-form-group input[type="email"],
.shc-form-group input[type="tel"],
.shc-form-group input[type="date"],
.shc-form-group input[type="file"],
.shc-form-group select,
.shc-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.shc-form-group textarea {
    min-height: 100px;
}

.shc-form-submit {
    margin-top: 30px;
    text-align: center;
}

.shc-submit-button {
    padding: 12px 25px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shc-submit-button:hover {
    background: #0055aa;
}

/* Alerts */
.shc-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.shc-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.shc-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.shc-alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Single University Template */
.shc-single-university {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.shc-university-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.shc-university-image {
    flex: 0 0 40%;
}

.shc-university-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.shc-university-info {
    flex: 1;
}

.shc-university-info h1 {
    margin-top: 0;
    color: #0066cc;
}

.shc-university-meta {
    margin-bottom: 20px;
}

.shc-meta-item {
    margin-bottom: 10px;
    display: flex;
}

.shc-meta-label {
    font-weight: bold;
    min-width: 150px;
    color: #555;
}

.shc-university-description {
    margin: 30px 0;
    line-height: 1.6;
}

.shc-university-courses h2 {
    color: #0066cc;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.shc-course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.shc-course-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
}

.shc-course-card h3 {
    margin-top: 0;
    color: #333;
}

.shc-course-meta {
    margin: 15px 0;
}

.shc-course-meta-item {
    margin-bottom: 8px;
}

.shc-course-meta-label {
    font-weight: bold;
    display: inline-block;
    min-width: 120px;
}

.shc-course-actions {
    margin-top: 15px;
}

.shc-apply-now {
    display: inline-block;
    padding: 8px 15px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.shc-apply-now:hover {
    background: #0055aa;
}

/* Responsive */
@media (max-width: 768px) {
    .shc-university-header {
        flex-direction: column;
    }
    
    .shc-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .shc-university-header {
        flex-direction: column;
    }
    
    .shc-form-row {
        flex-direction: column;
        gap: 0;
    }
}