.compact-header {
    padding: 30px 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.compact-header h1 {
    font-size: 44px !important;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
    font-weight: 700;
}

.compact-header h2 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #888;
    max-width: 600px;
    font-weight: 500;
}

.profile-container {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.profile-card {
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
}

.profile-header {
    padding: 24px;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar svg {
    width: 36px;
    height: 36px;
    color: #666;
}

.profile-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--color-primary);
}

.profile-content {
    padding: 20px;
}

.profile-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-section h4 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    min-height: 36px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    width: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-primary);
    flex-grow: 1;
    word-break: break-word;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.info-value:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.copy-btn {
    width: 28px;
    height: 28px;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    margin-left: 10px;
    opacity: 0.7;
    position: relative;
    flex-shrink: 0;
}

.copy-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 1;
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

@keyframes copiedAnimation {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.copy-btn.copied-animation {
    background-color: rgba(0, 0, 0, 0.1);
}

.copy-btn.copied-animation svg {
    opacity: 0;
}

.copy-btn.copied-animation::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    color: var(--color-primary);
    animation: copiedAnimation 1.5s ease;
}

.profile-actions {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes highlight {
    0% { background-color: rgba(0, 123, 255, 0.1); }
    50% { background-color: rgba(0, 123, 255, 0.2); }
    100% { background-color: rgba(0, 0, 0, 0.02); }
}

.info-value.updated {
    animation: highlight 0.5s ease-out;
}

@media (max-width: 768px) {
    .profile-header {
        padding: 20px;
    }
    
    .profile-avatar {
        width: 50px;
        height: 50px;
    }
    
    .profile-title h3 {
        font-size: 20px;
    }
    
    .profile-content {
        padding: 16px;
    }
    
    .compact-header h1 {
        font-size: 32px !important;
    }
}

@media (max-width: 480px) {
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn {
        width: 100%;
    }
    
    .info-row {
        flex-wrap: wrap;
    }
    
    .info-label {
        width: 100%;
        margin-bottom: 4px;
    }
    
    .info-value {
        width: calc(100% - 38px);
    }
    
    .compact-header h1 {
        font-size: 28px !important;
    }
    
    .compact-header h2 {
        font-size: 15px;
    }
}