/* Profile Page Styles */

/* Profile Photo Styles */
.profile-photo-container {
    position: relative;
    display: inline-block;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-avatar-large-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Statistics Box Styles */
.profile-stat-box {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.profile-stat-box:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.bg-success-light {
    background-color: rgba(16, 185, 129, 0.1);
}

.bg-primary-light {
    background-color: rgba(59, 130, 246, 0.1);
}

.bg-warning-light {
    background-color: rgba(245, 158, 11, 0.1);
}

.bg-info-light {
    background-color: rgba(14, 165, 233, 0.1);
}

/* Wallet Display Card */
.wallet-display-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 1px solid #dee2e6;
    margin-bottom: 10px;
}

.wallet-display-card i {
    font-size: 2rem;
    margin-right: 15px;
}

/* Recent Booking Thumbnail */
.recent-booking-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-booking-thumb-placeholder {
    width: 60px;
    height: 60px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
}

/* Dashboard Header */
.dashboard-header {
    padding-bottom: 15px;
    border-bottom: 2px solid #10b981;
}

.text-eco-green {
    color: #10b981;
}

/* Form Enhancements */
.form-label i {
    margin-right: 5px;
    color: #10b981;
}

.form-control:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

/* Button Styles */
.btn-success {
    background-color: #10b981;
    border-color: #10b981;
}

.btn-success:hover {
    background-color: #059669;
    border-color: #059669;
}

.btn-outline-success {
    color: #10b981;
    border-color: #10b981;
}

.btn-outline-success:hover {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
}

/* Card Styles */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

/* Badge Styles */
.badge {
    padding: 0.4em 0.8em;
    font-size: 0.85rem;
    font-weight: 500;
}

/* List Group Item Styles */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* Profile Photo Upload Button */
#photoUpload {
    display: none;
}

/* Table Styles */
.table-borderless td {
    padding: 10px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-avatar-large,
    .profile-avatar-large-img {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .profile-stat-box {
        margin-bottom: 10px;
    }

    .wallet-display-card {
        flex-direction: column;
        text-align: center;
    }

    .wallet-display-card i {
        margin-bottom: 10px;
    }
}

/* Password Toggle Button */
.input-group .btn {
    border-left: none;
}

.input-group .form-control:focus + .btn {
    border-color: #10b981;
}

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

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.alert-info {
    background-color: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

/* Modal Styles */
.modal-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-content {
    border-radius: 12px;
    border: none;
}

/* Animation for Stats */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-stat-box,
.wallet-display-card,
.list-group-item {
    animation: fadeInUp 0.5s ease forwards;
}

.profile-stat-box:nth-child(1) { animation-delay: 0.1s; }
.profile-stat-box:nth-child(2) { animation-delay: 0.2s; }
.profile-stat-box:nth-child(3) { animation-delay: 0.3s; }
.profile-stat-box:nth-child(4) { animation-delay: 0.4s; }

