/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f6f8fa;
    min-height: 100vh;
}

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

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

.navbar-brand i {
    font-size: 1.5rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Repository Card Styles */
.repo-card {
    cursor: pointer;
}

.repo-card:hover {
    border-color: #0d6efd;
}

.repo-card .card-title a {
    color: #0d6efd;
    transition: color 0.2s ease;
}

.repo-card .card-title a:hover {
    color: #0a58ca;
}

/* Follower Card Styles */
.follower-card img {
    border: 3px solid #e9ecef;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.follower-card:hover img {
    transform: scale(1.05);
    border-color: #0d6efd;
}

/* Progress Bar Styles */
.progress {
    background-color: #e9ecef;
    border-radius: 5px;
}

.progress-bar {
    transition: width 0.6s ease;
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Button Styles */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

/* Form Styles */
.form-control,
.form-select {
    border-radius: 6px;
    border: 1px solid #d0d7de;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Pagination Styles */
.pagination {
    margin-top: 2rem;
}

.page-link {
    color: #0d6efd;
    border-radius: 6px;
    margin: 0 2px;
    transition: all 0.2s ease;
}

.page-link:hover {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.page-item.disabled .page-link {
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Spinner Styles */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alert Styles */
.alert {
    border-radius: 8px;
    border: none;
}

/* Link Styles */
a {
    transition: color 0.2s ease;
}

/* Stats Card Styles */
.card-body i.fs-1 {
    opacity: 0.8;
}

/* Language Badge Styles */
.badge[style*="background-color"] {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
