/* Profile Page Styles */
.profile-header {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.profile-picture-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.profile-picture-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    flex: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Verification Badges */
.verification-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-verified {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.badge-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.badge-unverified {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Social Links */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #6c757d;
    margin-right: 0.5rem;
    transition: all 0.2s ease-in-out;
}

.social-links a:hover {
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Dashboard Cards */
.dashboard-card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
}

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

.dashboard-card .card-body {
    padding: 1.5rem;
}

.dashboard-card .card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-card .card-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.dashboard-card .card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.dashboard-card .card-subtitle {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Activity Feed */
.activity-item {
    position: relative;
    padding: 1rem 0 1rem 1.5rem;
    border-left: 2px solid #e9ecef;
    margin-left: 0.75rem;
}

.activity-item:last-child {
    border-left-color: transparent;
}

.activity-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #007bff;
    z-index: 1;
}

.activity-item .activity-content {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1rem;
    position: relative;
    margin-left: 0.5rem;
}

.activity-item .activity-time {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.5rem;
    display: block;
}

/* Verification Steps */
.verification-steps {
    counter-reset: step;
    padding: 0;
    margin: 0 0 2rem 0;
    list-style: none;
}

.verification-step {
    position: relative;
    padding: 0 0 1.5rem 2.5rem;
    margin-bottom: 1.5rem;
    border-left: 2px solid #e9ecef;
}

.verification-step:last-child {
    border-left-color: transparent;
}

.verification-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -0.9rem;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    line-height: 1.8rem;
    text-align: center;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #007bff;
    color: #007bff;
    font-weight: 600;
    z-index: 1;
}

.verification-step.completed::before {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    content: '✓';
}

.verification-step.active::before {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.verification-step h5 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.verification-step p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .profile-header {
        text-align: center;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        margin-bottom: 0.5rem;
    }
    
    .dashboard-card {
        margin-bottom: 1rem;
    }
}

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

/* Custom file upload button */
.custom-file-upload {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.custom-file-upload:hover {
    background-color: #e9ecef;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25rem solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tab Navigation */
.nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
    border: none;
    padding: 0.75rem 1.25rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #007bff;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    background-color: transparent;
    border-color: transparent;
    border-bottom-color: #007bff;
    font-weight: 600;
}

/* Card Hover Effects */
.card-hover {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

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

/* Status Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 0.25rem;
    text-transform: capitalize;
}

.badge-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.badge-status-approved {
    background-color: #d4edda;
    color: #155724;
}

.badge-status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

/* Responsive Tables */
.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom-width: 1px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

.table tbody tr {
    transition: background-color 0.15s ease-in-out;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

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