/* Custom styles for the dashboard */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-header i {
    opacity: 0.8;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card image styling */
.card-img-square {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 auto;
}

.card-link:hover {
    text-decoration: none;
}

.card-link:hover .card-title {
    color: var(--bs-primary);
}

/* Responsive card adjustments */
@media (max-width: 768px) {
    .card-img-square {
        width: 100px;
        height: 100px;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}

/* Login page styles */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Profile page styles */
.profile-card {
    border-radius: 10px;
    overflow: hidden;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-icon {
    font-size: 5rem;
    color: #6c757d;
}

.profile-info {
    padding: 10px 0;
}

.profile-info-item {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-label {
    font-weight: bold;
    color: #495057;
    margin-bottom: 5px;
}

.profile-info-value {
    color: #212529;
    word-break: break-all;
}

/* Add a subtle hover effect to profile info items */
.profile-info-item:hover {
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

/* Make the navbar items more visible when active */
.navbar-dark .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-weight: bold;
}

/* Add responsive adjustment for small screens */
@media (max-width: 768px) {
    .profile-image-container {
        width: 100px;
        height: 100px;
    }
    
    .profile-icon {
        font-size: 4rem;
    }
}

/* Profile photo styling */
.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
