/* Fundraising Profile CSS */
body {
    background-color: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.section-body {
    padding: 2rem 0;
}

.container {
    max-width: 1280px;
}

.card {
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.gap-2 {
    gap: 0.5rem;
}

/* Remove animation from logout button */
.no-animation {
    transition: none !important;
    transform: none !important;
    animation: none !important;
}

.no-animation:hover,
.no-animation:active,
.no-animation:focus {
    transform: none !important;
    animation: none !important;
    box-shadow: none !important;
    color: inherit !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-color: #6c757d !important;
    opacity: 1 !important;
}

.btn.no-animation {
    position: relative;
    overflow: visible;
}

.btn.no-animation:hover::after,
.btn.no-animation:active::after,
.btn.no-animation:focus::after {
    content: none !important;
}

/* Copy notification popup */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    15% {
        opacity: 1;
        transform: translateY(0);
    }

    85% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Profile page styles */
.profile-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-image-sm {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.profile-placeholder {
    width: 120px;
    height: 120px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #adb5bd;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #888;
    overflow: hidden;
}

/* Profile content styling for HTML content */
.profile-content-area {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    line-height: 1.5;
}

.profile-details p {
    margin-bottom: 0.5rem;
}

.profile-details p:last-child {
    margin-bottom: 0;
}

.profile-content-area p,
.profile-content-area div,
.profile-content-area span {
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.profile-content-area>*:last-child {
    margin-bottom: 0;
}

.profile-content-area h1,
.profile-content-area h2,
.profile-content-area h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.profile-content-area strong,
.profile-content-area b {
    font-weight: 600;
}

.profile-content-area .highlighted-content {
    border: 1px solid #dc3545;
    border-radius: 4px;
    padding: 15px;
    background-color: #fff;
}

/* Card styles */
.fundraising-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(182, 186, 203, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fundraising-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(182, 186, 203, 0.4);
}

/* Progress bar styles */
.fundraising-progress {
    height: 20px;
    border-radius: 10px;
    background-color: #e9ecef;
    margin: 15px 0;
}

.fundraising-progress .progress-bar {
    background-color: #28a745;
    border-radius: 10px;
}

/* Donation table styles */
.donation-table th {
    border-top: none;
    font-weight: 600;
}

.donation-table td,
.donation-table th {
    padding: 12px 15px;
}

/* Status badges */
.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

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

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

/* Fundraising description styles */
.fundraising-description-container {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.fundraising-description {
    font-size: 1rem;
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-word;
}

/* Social icons styling */
.social-icons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.social-icon:hover {
    opacity: 0.9;
    color: white;
}

.facebook {
    background-color: #3b5998;
}

.instagram {
    background-color: #e1306c;
}

.whatsapp {
    background-color: #25d366;
}

.wechat {
    background-color: #7BB32E;
}

.copy {
    background-color: #343a40;
}

.copy-link-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.logout-text {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 5;
}

/* Profile cards container */
.profile-cards-container {
    display: grid;
    grid-template-columns: 5fr 4fr 3fr;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.profile-cards-container-2items {
    display: grid;
    grid-template-columns: 6fr 6fr;
    gap: 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.profile-card-item {
    min-width: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .profile-cards-container {
        grid-template-columns: 1fr 1fr;
    }

    .profile-cards-container-2items {
        grid-template-columns: 1fr 1fr;
    }

    .profile-card-item:last-child {
        /* grid-column: span 2; */
    }
}

@media (max-width: 768px) {
    .profile-cards-container {
        grid-template-columns: 1fr;
    }

    .profile-cards-container-2items {
        grid-template-columns: 1fr;
    }

    .profile-card-item {
        grid-column: span 1 !important;
        margin-bottom: 15px;
    }

    .profile-image,
    .profile-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .fundraising-description-container {
        padding: 10px;
    }
}