/* Member Dashboard Styles */

.dashboard-container {
    padding: 0 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Fix sidebar layout */
.dashboard-container .row {
    margin: 0;  /* Remove default row margins */
}

.dashboard-container .col-md-3,
.dashboard-container .col-md-9 {
    padding: 0.75rem;  /* Add consistent padding */
}

/* Profile Card */
.card .card-header.bg-primary {
    background-color: #0d6efd !important;
}

.card-body.text-center img.rounded-circle {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Quick Navigation */
.list-group-item-action {
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.list-group-item-action:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

.list-group-item-action i {
    width: 20px;
    text-align: center;
    color: #6c757d;
}

.list-group-item-action.active i {
    color: #2c2c2c;
}

.list-group-item-action.active {
    color: #2c2c2c;
    font-weight: 600;
}

/* Stats Cards */
.text-primary h3 {
    color: #0d6efd;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.text-success h3 {
    color: #198754;
}

.text-info h3 {
    color: #0dcaf0;
}

.text-muted.small {
    font-size: 0.875rem;
}

/* Recent Activity */
.card .list-group-item {
    padding: 1rem;
    border-left: none;
    border-right: none;
}

.card .list-group-item:first-child {
    border-top: none;
}

.card .list-group-item:last-child {
    border-bottom: none;
}

.card .list-group-item h6 {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .col-md-3 {
        margin-bottom: 1.5rem;
    }
    
    .card-body.text-center {
        padding: 1.5rem;
    }
    
    .list-group-item-action {
        padding: 1rem;
    }
}

/* Button Styles */
.btn-primary {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.btn-primary i {
    margin-right: 0.5rem;
}

/* Stats Section */
.traffic-stats {
    padding: 2rem 0;
}

.stats-item {
    text-align: center;
    padding: 1rem;
}

.stats-item h3 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stats-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.action-buttons .btn {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.3s ease-out;
}
/* Change Password Page Enhancements */
.change-password-form .card {
    border: 2px solid var(--primary-color, #0d6efd);
    background: #fff;
    box-shadow: 0 6px 24px rgba(13,110,253,0.08);
}
.change-password-form .card-header {
    background: linear-gradient(90deg, #0d6efd 60%, #3498db 100%);
    color: #fff;
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 1px;
}
.change-password-form .btn-primary {
    background: linear-gradient(90deg, #0d6efd 60%, #3498db 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 1px;
}
.change-password-form .form-control {
    border-radius: 0.4rem;
    border: 1px solid #d1d5db;
    box-shadow: none;
    transition: border-color 0.2s;
}
.change-password-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,0.08);
}