.profile-card {
    background-color: #eee ;
    overflow: hidden;
}

.profile-header {
    background-color: #1f7824;
    padding: 30px 20px 80px;
    text-align: center;
    position: relative;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #eee;
    object-fit: cover;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #555;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.profile-info {
    padding: 100px 25px 25px;
}

.user-main-info {
    text-align: center;
    margin-bottom: 20px;
}

.user-name {
    font-size: 28px;
    font-weight: 700;
    color: #e1e1e1;
    margin-bottom: 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: linear-gradient(180deg, #232730, #12151a);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
    padding: 10px 5px;
}

.stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #1f7824;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: #7f8c8d;
    margin-top: 5px;
}

.success-rate {
    color: #1f7824;
    font-weight: 600;
}

.success-rate.low {
    color: #e74c3c;
}

.user-details {
    background: linear-gradient(180deg, #232730, #12151a);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.detail-row:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.detail-label {
    color: #7f8c8d;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.detail-value {
    color: #e1e1e1;
    font-weight: 500;
    font-size: 16px;
    text-align: right;
    word-break: break-word;
    max-width: 60%;
}

.info-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #e1e1e1;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #1f7824;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ecf0f1;
}

.info-label {
    color: #7f8c8d;
    font-size: 15px;
    flex-shrink: 0;
}

.info-value {
    color: #e1e1e1;
    font-weight: 500;
    text-align: right;
    max-width: 65%;
    word-break: break-word;
}

.address-container {
    background: linear-gradient(180deg, #232730, #12151a);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    word-break: break-all;
    font-family: monospace;
    font-size: 14px;
    color: #e1e1e1;
}

.passport-id {
    background-color: #1f7824;
    border-radius: 8px;
    padding: 12px 15px;
    text-align: center;
    font-weight: 700;
    color: #e1e1e1;
    letter-spacing: 1px;
    border: 1px solid #ffeaa7;
    font-size: 15px;
}

.recipient-section {
    background: linear-gradient(180deg, #232730, #12151a);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px;
    border-left: 4px solid #1f7824;
}

.recipient-title {
    font-weight: 600;
    color: #e1e1e1;
    margin-bottom: 10px;
    font-size: 16px;
}

.referral-section {
    background: linear-gradient(180deg, #232730, #12151a);
    border-radius: 12px;
    padding: 20px;
    color: #e1e1e1;
    margin-top: 10px;
}

.referral-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.referral-count {
    font-size: 32px;
    font-weight: 700;
}

.referral-label {
    font-size: 14px;
    opacity: 0.9;
}

.referral-link-container {
    background-color: #1f7824;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.referral-link {
    flex: 1;
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
    color: #e1e1e1;
}

.copy-btn {
    background-color: #e1e1e1;
    color: #1f7824;
    border: none;
    border-radius: 6px;
    padding: 8px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.copy-btn.copied {
    background: #27ae60;
    color: #e1e1e1;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1f7824;
    color: #e1e1e1;
}

.btn:hover {
    transform: translateY(-3px);

}

.footer-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .profile-header {
        padding: 25px 15px 75px;
    }

    .profile-info {
        padding: 90px 20px 20px;
    }

    .user-name {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .stats-container {
        grid-template-columns: repeat(3, 1fr);
        padding: 15px;
        gap: 5px;
        margin-bottom: 20px;
    }

    .stat-value {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .user-details {
        padding: 15px;
        gap: 12px;
    }

    .detail-label {
        font-size: 14px;
        min-width: 100px;
    }

    .detail-value {
        font-size: 14px;
        max-width: 55%;
    }

    .action-buttons {
        flex-direction: column;
    }
}