/* assets/css/style.css */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

.navbar {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: bold;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.profile-photo {
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.table th {
    width: 150px;
    background-color: #f8f9fa;
}

.interest-card {
    transition: transform 0.2s;
}

.interest-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

.badge {
    padding: 5px 10px;
    font-size: 12px;
}

.alert {
    border-radius: 8px;
    border: none;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

@media (max-width: 768px) {
    .table th {
        width: 100px;
    }
    
    .profile-photo {
        max-width: 150px;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Dashboard specific */
.dashboard-card {
    text-align: center;
    padding: 30px 20px;
}

.dashboard-card i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

/* Search results */
.search-result-item {
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Form validation */
.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 80%;
    margin-top: 5px;
}
